.faqWrapper {
    padding: 5rem 0 4rem;
}

.faqHeading {
    font-size: 3rem;
    text-align: center;
    font-weight: bold;
    padding-top: 3rem;
    font-size: 4rem;
    text-shadow: 0px 0px 10px rgba(51, 34, 101, 0.5), 0px 0px 20px rgba(121, 102, 175, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.faqs_container {
    height: 100%;
    width: 80%;
    padding-left: 20%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.faqs {
    display: flex;
    padding: 2rem 2rem;
    gap: 2rem;
}

.faq {
    height: fit-content;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    display: flex;
    flex-flow: column;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.faq:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.faq_title {
    font-size: 20px;
    font-weight: 700;
    font-family: Inter, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    transition: background-color 0.3s ease-in-out;
}

.faq_title:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.faq_title .plus {
    cursor: pointer;
    font-size: 1.5rem;
    transition: transform 0.2s ease-in-out;
}

.plusBtn {
    padding: .5rem;
}

.faq_title .plus:hover {
    transform: scale(1.2);
}

.faq.expanded .faq_title .plus {
    content: "-";
    transform: rotate(180deg);
}

.faq_content {
    height: 0;
    overflow: hidden;
    font-size: 1.7rem;
    font-family: Inter, sans-serif;
    color: #f7f7f7;
    transition: height 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.faq.expanded .faq_content {
    height: auto;
    padding-top: 1rem;
}

.faqWrapper a {
    text-decoration: none;
    color: #82cfff;
}

.faqWrapper a:hover {
    text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
    }

    .faq {
        background-color: rgba(30, 30, 30, 0.9);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    }

    .faq_title {
        background-color: rgba(40, 40, 40, 0.9);
    }

    .faq_title:hover {
        background-color: rgba(70, 70, 70, 0.9);
    }

    .faqWrapper a {
        color: #9ecaff;
    }

    .faqWrapper a:hover {
        color: #c0e5ff;
    }
}

@media screen and (max-width: 768px) {
    .faqs_container {
        grid-template-columns: 1fr;
    }

    .faqs {
        flex-flow: column;
    }

    .faqHeading {
        margin-top: 2rem;
        padding: 0 0.5rem;
        text-align: center;
    }
}