.faq-section {
    padding: 35px 0px;
    position: relative;
    overflow: hidden;
}

.faq-title {
    text-align: center;
    color: #f7c41c;
    font-size: 28px;
    margin-bottom: 60px;
    font-weight: 600;
    font-family: "Lexend", sans-serif;
    margin-top: 40px;
}


/* Layout */
.faq-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
}

/* FAQ List */
.faq-list {
    width: 55%;
}

/* Item */
.faq-item {
    margin-bottom: 30px;
    border-radius: 8px 8px;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
}

/* Question */
.faq-question {
    width: 100%;
    background: #fff;
    color: #000;
    border: none;
    padding: 14px 18px;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-radius: 6px;
    font-family: "Rockwell", serif;
    font-weight: 700;
}

/* Icon */
.faq-question i {
    background: #000;
    color: #fff;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 10px;
}

/* Answer (collapsed state) */
.faq-answer {
    color: #000;
    font-size: 17px;
    line-height: 1.6;

    background: #fff;
    border: 2px solid #f7c41c;
    border-radius: 6px;

    max-height: 0;
    opacity: 0;
    overflow: hidden;

    padding: 0 18px;
    margin-top: 0;

    transform: translateY(-6px);

    transition:
        max-height 0.45s ease,
        opacity 0.35s ease,
        transform 0.35s ease,
        padding 0.35s ease;
}

/* Active state */
.faq-item.active .faq-answer {
    max-height: 300px;     /* safe height */
    opacity: 1;
    padding: 16px 18px;
    margin-top: 10px;
    transform: translateY(0);
}


.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}



/* Image */
.faq-image {
    width: 45%;
    text-align: center;
}

.faq-image img {
    max-width: 100%;
    filter: drop-shadow(0 0 40px rgba(247,196,28,0.4));
}

.faq-q-left {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.faq-coin {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
}

.faq-floating-coins {
    position: absolute;
    left: -40px;
    bottom: 120px;
    width: 120px;
    z-index: 1;
    pointer-events: none;
}

.faq-coin-pot {
    position: absolute;
    top: 232px;
    right: 60px;
    width: 235px;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 1399px) {
    .faq-floating-coins {
        left: -7px;
        bottom: 120px;
        width: 74px;
    }
}

@media (max-width: 1999px) {
    .faq-floating-coins {
        left: -7px;
        bottom: 6px;
        width: 64px;
    }
}


/* Medium screens (tablet) */
@media (max-width: 992px) {
    .faq-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .faq-list,
    .faq-image {
        width: 100%;
    }

    .faq-image {
        margin-top: 30px;
    }

    .faq-coin-pot{
        top: -31px;
        right: 17px;
        width: 218px;
    }
}

/* Small screens (mobile) */
@media (max-width: 768px) {
    .faq-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .faq-question {
        font-size: 16px;
        padding: 12px 16px;
    }

    .faq-answer {
        font-size: 15px;
    }

    .faq-image img {
        max-width: 80%;
    }

    
}

@media (max-width: 767px) {
    .faq-coin-pot{
        display: none;
    }
}

/* Extra small screens (very small mobile) */
@media (max-width: 480px) {
    /*.faq-section {*/
    /*    padding: 20px 15px;*/
    /*}*/

    .faq-title {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .faq-q-left {
        display: flex;
        align-items: center;
        gap: 7px;
        text-align: left;
    }


    .faq-answer {
        font-size: 14px;
        padding: 12px 14px;
    }

    .faq-image img {
        max-width: 100%;
    }

    .faq-floating-coins{
        left: -7px;
        bottom: 448px;
        width: 42px;
    }
    
    .faq-question {
        font-size: 12px;
        padding: 11px 5px;
    }
}

