/* FAQ Section */
.faq {
    padding: 150px 0 150px;
    position: relative;
    overflow: hidden;
}


.faq .section-subtitle{
    margin-bottom: 24px;
}

.shadow-bg {
    position: absolute;
    left: 100%;
    top: 15%;
    transform: translate(-50%, -50%);
    height: 150px;
    width: 150px;
    border-radius: 50%;
    background: #a17308;
    filter: blur(95px);
}

.faq-lists {
    width: 80%;
    margin: 0 auto;
}

.faq-item {
    padding: 40px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    overflow: hidden;
    transform-origin: top center;
    transition: transform 0.3s ease-in-out;
    /* Smooth transform effect */
}

.faq-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #056FDD, transparent);
}

.faq-item-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.faq-item .faq-item-title {
    color: #494949;
    font-size: 28px;
    font-weight: 400;
}


.faq-item-icon {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6;
    transition: 0.2s ease-in-out;
    cursor: pointer;
}

.faq-item-icon i {
    transition: 0.2s ease-in-out;
}

.faq-item-icon:hover {
    opacity: 1;
}

.faq-item.active .faq-item-icon i {
    transform: rotate(180deg);
    opacity: 1;
}

.faq-item-contents {
    width: 100%;
    margin-top: 12px;
    padding: 0 60px 20px 40px;
    display: block;
    height: 0;
    overflow: hidden;
    transform: scaleY(0);
    transform-origin: top center;
    transition: height 0.3s ease-in-out, transform 0.3s ease-in-out;
    color: #000;
}

.faq-item-description{
    line-height: 27px;
    word-spacing: 2px;
    letter-spacing: 1px;
    color: #3a3a3a;
}

.faq-item.active .faq-item-contents {
    height: auto;
    transform: scaleY(1);
}

@media (max-width:768px) {
    .faq-header {
        flex-wrap: wrap;
        margin-bottom: 32px;
    }
    
    .header-titles {
        width: 100%;
    }

    .faq-header-description {
        width: 100%;
        text-align: left;
    }

    .faq-lists {
        width: 100%;
    }

    .faq-item .faq-item-title {
        font-size: 24px;
    }

    .faq-item {
        padding: 24px 0 0;
    }

    .faq-item-contents {
        margin-top: 0px;
        padding: 0 60px 20px 22px;
    }

    .faq-item-icon {
        height: 40px;
        width: 40px;
    }
}

@media (max-width: 480px) {
    .faq-item .faq-item-title {
        font-size: 19px;
    }

    .faq-item-contents {
        padding: 12px 48px 20px 18px;
    }

    .faq-item-icon {
        height: 32px;
        width: 32px;
        flex: 0 0 32px;
    }
    .faq-item-description {
        font-size: 15px !important;
        line-height: 20px;
    }
}