.faq-section {
    padding: 6.25rem 5.9rem 5.5rem;
    display: flex;
    flex-direction: column;
}

.faq-category {
    transition: border-color 0.3s ease;
    border: 1px solid transparent;
    border-radius: 10px;
}

.faq-category h2 {
    color: var(--Dark-Grey, #454546);
    font-family: Montserrat;
    font-size: 27px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 1.3rem;
}

.faq-item {
    border-radius: 10px;
    border: 1px solid var(--Light-Gray, #EDECEB);
    overflow: hidden;
    margin-bottom: 1.3rem;
    padding: 8px 15px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease;
}

input[type="checkbox"]:checked + label + .faq-body {
    display: block; /* Ensure the body is visible */
}

input[type="checkbox"]:checked + label {
    border-color: var(--Dark-Grey, #454546);
}

.faq-header {
    padding: 0 0.9rem 0;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--Dark-Grey, #454546);
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.faq-body {
    display: none;
    padding: 0.5rem 1rem 0;
    color: var(--Dark-Grey, #454546);
    font-family: "Source Sans Pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.faq-body::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin-bottom: 1.2rem;
}

input[type="checkbox"] {
    display: none;
}



.faq-item:has(input[type="checkbox"]:checked) {
    border: 1px solid var(--Dark-Grey, #454546);
}

.faq-header span.toggle-icon::after {
    content: "+";
    font-size: 2.8rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    color: #454545;
    font-weight: normal;
}

input[type="checkbox"]:checked + label span.toggle-icon::after {
    content: "−";
    transform: rotate(180deg);
}

.faq-separation::before {
    content: "";
    margin: 1.4rem 0px 2.1rem 0px;
    display: block;
    width: 100%;
    background-color: #ddd;
    background: linear-gradient(270deg, #FAFAFA 0%, #8FA8B4 50%, #FAFAFA 100%);
    height: 1px;
}

@media (max-width: 700px) {
    .faq-body {
        font-size: 9px;
        line-height: 9px;
    }
    .faq-header {
        font-size: 9px;
    }
    .faq-header span.toggle-icon::after,
    input[type="checkbox"]:checked + label span.toggle-icon::after {
        font-size: 1rem;
    }
    .section-heading {
        font-size: 1.2rem !important;
    }
}