/* ==========================================================================
   Soul Meet India — FAQ Styles
   ========================================================================== */

:root {
    --color-primary: #ff5a5f;
    --color-accent: #1fa9ac;
    --color-text: #1c1c1c;
    --color-text-light: #5c5c5c;
    --color-border: #e8e8e8;
    --color-bg-muted: #faf8f7;
    --max-width: 900px;
    --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.faq {
    font-family: var(--font-family);
    background: var(--color-bg-muted);
    padding: 72px 24px;
}

.faq__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* ---------------------------------------------------------------------- */
/* Header                                                                   */
/* ---------------------------------------------------------------------- */

.faq__header {
    text-align: center;
    margin-bottom: 40px;
}

.faq__title {
    margin: 0 0 12px;
    font-size: 36px;
    font-weight: 800;
    color: var(--color-text);
}

.faq__subtitle {
    margin: 0;
    font-size: 16px;
    color: var(--color-text-light);
}

/* ---------------------------------------------------------------------- */
/* Accordion list                                                           */
/* ---------------------------------------------------------------------- */

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item--open {
    border-color: var(--color-accent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-item__number {
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-accent);
    min-width: 24px;
}

.faq-item__text {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
}

.faq-item__icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-bg-muted);
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item--open .faq-item__icon {
    background: var(--color-accent);
    color: #fff;
    transform: rotate(45deg);
}

.faq-item__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.faq-item__answer {
    margin: 0;
    padding: 0 22px 22px 64px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-light);
}

/* ---------------------------------------------------------------------- */
/* Responsive                                                               */
/* ---------------------------------------------------------------------- */

@media (max-width: 640px) {
    .faq {
        padding: 48px 16px;
    }

    .faq__title {
        font-size: 26px;
    }

    .faq__subtitle {
        font-size: 14px;
    }

    .faq-item__question {
        padding: 16px;
        gap: 12px;
    }

    .faq-item__text {
        font-size: 15px;
    }

    .faq-item__number {
        font-size: 13px;
        min-width: 20px;
    }

    .faq-item__icon {
        width: 26px;
        height: 26px;
    }

    .faq-item__answer {
        padding: 0 16px 18px 48px;
        font-size: 14px;
    }
}