.faq-section {
    padding: 50px 20px;
    background: #f0f0f3;
    position: relative;
    overflow: hidden;
}

.faq-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.faq-tag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: #ffffff90;
    color: #422243;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow:
        6px 6px 12px rgba(0, 0, 0, 0.08),
        -6px -6px 12px rgba(255, 255, 255, 0.8);
}

.faq-heading h2 {
    font-size: 48px;
    margin-bottom: 15px;
}

.faq-heading h1 {
    font-size: 35px;
    line-height: 1.7;
    font-weight: bold;
}

.faq-heading p {
    font-weight: 300;
    font-size: 20px;
    line-height: 1.5;
}

.faq-wrapper {
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.faq-card {
    background: var(--bg-color);
    border-radius: 28px;
    padding: 10px 25px;
    box-shadow: 12px 12px 24px #d1d9e6, -12px -12px 24px #fff;
    transition: 0.4s ease;
}

.faq-card:hover {
    transform: translateY(-4px);
}

.faq-question {
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.faq-question span:first-child {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    text-align: left;
    line-height: 1.5;
}

.faq-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #422243;
    background: var(--bg-color);
    transition: 0.4s ease;
    box-shadow: 12px 12px 24px #d1d9e6, -12px -12px 24px #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s ease,
        border-top 0.3s ease,
        margin-top 0.3s ease,
        padding-top 0.3s ease;
    border-top: 0px solid transparent;
    margin-top: 0;
    padding-top: 0;
}

.faq-answer p {
    padding: 0 0 25px;
    font-size: 18px;
    line-height: 1.5;
}

.faq-card.active .faq-answer {
    max-height: 300px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 15px;
    padding-top: 15px;
}

@media(max-width:990px) {

    .faq-section {
        padding: 70px 0px;
    }

    .faq-heading h2 {
        font-size: 34px;
    }

    .faq-question span:first-child {
        font-size: 17px;
        padding-right: 15px;
    }

    .faq-answer p {
        font-size: 15px;
    }

    .faq-heading h1 {
        font-size: 32px;
        line-height: 1.5;
    }
}

@media (min-width:1200px) and (max-width:1399px) {
    .faq-heading h1 {
        font-size: 26px;
    }

    .faq-heading p {
        font-size: 16px;
    }

    .faq-heading {
        margin: 0 auto 38px;
    }

    .faq-question span:first-child {
        font-size: 16px;
    }

    .faq-answer p {
        font-size: 14px;
    }
}

@media (min-width:1400px) and (max-width:1500px) {
    .faq-heading h1 {
        font-size: 30px;
    }

    .faq-question span:first-child {
        font-size: 18px;
    }
}

@media (min-width:1901px) and (max-width:3000px) {
    .faq-heading h1 {
        font-size: 35px;
        padding-bottom: 13px;
    }

    .faq-heading p {
        font-size: 22px;
        line-height: 1.5;
    }

    .faq-heading {
        margin: 0 auto 38px;
    }

    .faq-question span:first-child {
        font-size: 20px;
    }

    .faq-answer p {
        font-size: 18px;
    }
}