
.header-box{
    background: var(--colors-primary-600);
}


.faq-box {
width: 100%;
display: flex;
justify-content: center;
margin-top: 92px;
}


.faq-box .container {
    display: flex;
    gap:40px;
    padding: 56px 16px 80px 16px;
    
    justify-content: space-between;
    width: 1312px;
   
}

.faq-title {
    font-family: var(--second-family);
        font-weight: 700;
        font-size: 40px;
        line-height: 110%;
        text-transform: uppercase;
        color: var(--colors-grey-900);
}

.faq-list {
    width: 840px;
    display: flex;
    flex-direction: column;
    gap:16px ;
}

.faq-item {
height: fit-content;
background: var(--colors-grey-25);
border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap:8px;
    position: relative;
}

.faq-item-title {
    font-family: var(--font-family);
        font-weight: 600;
        font-size: 20px;
        line-height: 135%;
        color: var(--colors-grey-900);
        width: calc(100% - 32px);
}

.faq-item-text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 137%;
    color: var(--colors-grey-500);
}

.faq-svg {
    position:absolute;
    right:16px;
    top:16px;
    width: 24px;
    height: 24px;
}

.faq-item-text {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    white-space: normal;

        word-wrap: break-word
}

.faq-svg {
    transition: transform 0.3s ease;
    cursor: pointer;
}

@media screen and (max-width: 1440px) {
    .faq-box .container {
    align-items: center;
           
            flex-direction: column;
      
        }
}


@media screen and (max-width: 780px) {


.faq-box .container {

    gap: 16px;
    padding: 28px 20px 40px 20px;
   
    justify-content: unset;
    width: 390px;
    min-width: 390px;
}

.faq-title {
font-size: 26px;
}


.faq-list {
    width: 100%;
    gap: 12px;
}

.faq-item-title {
   
font-size: 16px;
    line-height: 137%;
 
}

.faq-item-text {
font-size: 14px;
    line-height: 150%;
}



}
