#faq {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #FFF;
    height: auto;
    padding: 2rem 0;
    color: black;
}

.faq-container {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

.faq-image h1 {
    font-weight: 700;
    font-size: 2rem;
    margin-left: 2rem;
    color: black;
}

.faq-image img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-content {
    text-align: left;
    height: auto;
    display: flex;
    flex-direction: column;
    margin-right: 2rem;
}

.faq-list {
    width: 100%;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 5px 56px 0px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    padding: 0;
}

.faq-question {
    display: flex;
    border-radius: 10px;
    justify-content: space-between;
    align-items: center;
    background: #FFF;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.1s;
    padding: 1rem;
    color: black;
}

.faq-question svg {
    flex-shrink: 0;
}

.faq-question:hover {
    background-color: #f1f1f1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.1s ease-out;
    background-color: #fff;
    padding: 0;
    color: #555;
    display: none;
    margin-top: 0;
    font-size: 1rem;
}

.faq-answer.active {
    max-height: max-content;
    padding: 0 1rem;
    display: block;
    font-weight: 400;
}


.faq-list.active {
    border: 1px solid #37A6F7;
}

@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
    }

    .faq-image {
        order: 1;
    }

    .faq-content {
        order: 2;
        margin-left: 2rem;
    }

    .faq-image img {
        display: none;
    }

}

@media (max-width: 480px) {

    .faq-image h1 {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
    }
}

@media screen and (max-width: 380px) {
    .faq-image{
        width: 20rem;
        justify-content: center;
    }
    .faq-image h1{
        display: flex;
        flex-wrap: wrap;
        text-align: center;
    }
}
