.faq-container {
    width: 80%;
    background-color: #fff;
}

.faq-title {
    text-align: left;
    font-size: 24px;
    margin-bottom: 20px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.faq-question svg {
    transition: transform 0.3s;
}

.faq-question svg .vertical-line {
    transform-origin: center;
}

.faq-question svg .vertical-line.rotate-90 {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.3s ease;
    /* Smooth height transition */
    padding: 0 1rem;
    /* Adds padding but doesn't affect the height calculation */
    background-color: #f9f9f9;
    /* Optional styling */
    margin-top: 10px;
    /* Optional spacing */
}

.faq-answer.open {
    max-height: 200px;
    /* Set to a value greater than the maximum content height */
}

.faq-answer p {
    margin: 0;
}