@import url(../global/global.css);
@import url(../layout/header.css);
@import url(../layout/footer.css);

.faq-section .item {
    background-color: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 1.14em;
    font-weight: 700;
    cursor: pointer;
    transition: all ease 0.3s;
}

.faq-section .item.active,
.faq-section .item:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.faq-section .item.active svg path,
.faq-section .item:hover svg path {
    stroke: #fff;
}

.faq-section .item.active .arrow {
    transform: rotate(180deg);
}

.faq-section .item .icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all ease 0.3s;
}

.faq-section .item .value {
    flex-grow: 1;
}

.faq-section .swiper {
    width: calc(100% - 100px);
}

.faq-content {
    display: none;
}

.faq-content.active {
    display: block;
}

/*faq-sections-start*/
.faq__accordion__parent {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.faq__accordion__col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq__accordion__item {
    transition: all 0.3s;
}

.faq__accordion__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--primary-color);
    border-radius: 30px;
    padding: 20px 20px 20px 1.5rem;
    position: relative;
    z-index: 1;
}

.faq__accordion__header p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--mainWhite);
    font-weight: bold;
    padding-left: 1rem;
}

.faq__accordion__parent .chevron {
    margin-left: 0;
    width: 10px;
    height: 10px;
    border-color: var(--mainWhite);
}

.faq__accordion__body {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    font-size: 16px;
    color: var(--color-text);
    padding: 40px 20px 20px 20px;
    margin-top: -25px;
    background-color: #f2f2f2;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
}

.faq__accordion__item.active .faq__accordion__body {
    max-height: 100%;
}

.faq__accordion__body p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.faq__accordion__item.active .chevron {
    transform: rotate(45deg);
}

@media only screen and (max-width: 576px) {
    .faq__accordion__header p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/*faq-sections-end*/