.faq-container .accordion-item {
    margin-bottom: 20px; /* Adds bottom margin to each accordion card */
    border-radius: 20px;
    color: #FFF;
    box-shadow: 0 4px 8px rgba(21, 21, 21, 0.1);
}
.faq-container .accordion-button {
    background-color: #fff;
    color: #000;
    font-weight: 500;
    border-radius: 20px;
    /* height: 100px; */
    padding: 30px 25px;
}
.faq-container .accordion-button.text-heading {
    margin-bottom: 0;
}
.faq-container .accordion-item:first-of-type {
    border-radius: 20px;
}
.faq-container .accordion-item:last-of-type {
    border-radius: 20px;
}
/* Apply border-radius to the first accordion button */
.faq-container .accordion-item:first-of-type .accordion-button, .accordion-item:first-of-type .accordion-collapse.collapse:not(.show) .accordion-body {
    border-top-left-radius: 20px; /* Adjust as needed */
    border-top-right-radius: 20px; /* Adjust as needed */
}
/* Apply border-radius to the last accordion item when not collapsed */
.faq-container .accordion-item:last-of-type .accordion-collapse.collapse:not(.show) .accordion-body {
    border-bottom-left-radius: 20px; /* Adjust as needed */
    border-bottom-right-radius: 20px; /* Adjust as needed */
}
.faq-container .accordion-item:last-of-type .accordion-button.collapsed{
    border-radius: 20px;
}
/* Ensure the last accordion item always has rounded corners at the bottom */
.faq-container .accordion-item:last-of-type, .accordion-item:last-of-type .accordion-button {
    border-bottom-left-radius: 20px; /* Adjust as needed */
    border-bottom-right-radius: 20px; /* Adjust as needed */
}
.faq-container .accordion-button:not(.collapsed)::after {
    /* background-image: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 16 16\' fill=\'%23e59114\'%3e%3cpath stroke=\'%23e59114\' stroke-width=\'2\' fill-rule=\'evenodd\' d=\'M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z\'/%3e%3c/svg%3e'); */
    transform: rotate(-180deg);
}
.faq-container .accordion-button::after {
    background-image: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 16 16\' fill=\'%23666565\'%3e%3cpath stroke=\'%23666565\' stroke-width=\'2\' fill-rule=\'evenodd\' d=\'M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z\'/%3e%3c/svg%3e');
    width: clamp(16px, 2vw, 20px);
    height: clamp(16px, 2vw, 20px);
    background-size: contain;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .faq-container .accordion-button::after {
        width: clamp(14px, 1.8vw, 20px);
        height: clamp(14px, 1.8vw, 20px);
    }
    .faq-container .accordion-button {
        padding: 25px 15px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .faq-container .accordion-button::after {
        width: clamp(15px, 1.9vw, 22px);
        height: clamp(15px, 1.9vw, 22px);
    }
}
.faq-container .accordion-button:hover {
    background-color: inherit; /* Or use the specific color of the button's non-hover state */
    color: inherit; /* Adjust if the text color also changes on hover */
}
.faq-container .accordion-header {
    background-color: #fff;
    color: #000;
    font-size: 1.5rem;
    font-weight: 500;
    border-radius: 20px;
    /* height: 100px; */
    font-family: 'Poppins', sans-serif;
}

.faq-container .accordion {
    border-radius: 20px;
}
.faq-container .accordion-body{
    color: #000;
    background-color: #FFF;
    border-radius: 0 0 20px 20px;
    font-family: 'Poppins', sans-serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .accordion-button {
        font-size: 1rem; /* Adjust font size for smaller screens */
        padding: 0.5rem 1rem; /* Adjust padding for smaller screens */
    }
    .accordion-body {
        font-size: 0.875rem; /* Adjust font size for smaller screens */
    }
}
.faq-title {
    color: #000;
    text-align: center;
    font-family: "Poppins" !important;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}
.accordion-item:not(:first-of-type) {
    border-top: 1px solid rgba(0,0,0,.125) !important;
}