/* General styling for the body */
body {
    margin: 0;
    font-family: 'Work Sans', sans-serif;
    background: linear-gradient(to bottom, #240046, #f0e5ff);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Background element for overall page styling */
.background {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.faq-container {
    background: #fff;
    border-radius: 12px;
    padding: 3rem;
    max-width: 700px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: left;
    margin: 0 auto;
    width: 90%;
    box-sizing: border-box;
    position: relative; /* Ensure it's correctly positioned */
}

/* Title section of the FAQ */
.faq-title-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.faq-icon {
    width: 30px;
    height: 30px;
}

.faq-title {
    color: #6c5ce7;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

/* FAQ item styling */
.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

/* Question button styling */
.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: #333;
    font-weight: bold;
}

/* Answer styling */
.faq-answer {
    display: none;
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* Icon styling */
.icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Style for plus icon */
.icon-plus {
    content: url('assets/images/icon-plus.svg');
}

/* Style for minus icon */
.icon-minus {
    content: url('assets/images/icon-minus.svg');
}
@media (max-width: 1080px) {
    .faq-title {
        font-size: 1.7rem;
    }
    .faq-question {
        font-size: 1rem;
    }
    .faq-container {
        padding: 1.7rem;
        margin: 20px auto;
        width: 90%;
        max-width: 800px;
        box-sizing: border-box;
        min-height: 400px; /* Adjust minimum height */
    }
}

@media (max-width: 780px) {
    .faq-title {
        font-size: 1.6rem;
    }
    .faq-question {
        font-size: 0.95rem;
    }
    .faq-container {
        padding: 1.5rem;
        margin: 20px auto;
        width: 90%;
        max-width: 650px;
        box-sizing: border-box;
        min-height: 350px; /* Adjust minimum height */
    }
}

@media (max-width: 580px) {
    .faq-title {
        font-size: 1.5rem;
        text-align: center;
    }
    .faq-question {
        font-size: 0.9rem;
    }
    .faq-container {
        padding: 1rem;
        margin: 10px auto;
        width: 90%;
        max-width: 500px;
        box-sizing: border-box;
        min-height: 300px; /* Adjust minimum height */
    }
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 1.4rem;
    }
    .faq-container {
        padding: 0.8rem;
        margin: 5px auto;
        width: 90%;
        max-width: 400px;
        box-sizing: border-box;
        min-height: 450px; /* Adjust minimum height */
    }
    .faq-question {
        font-size: 0.85rem;
    }
    .icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 350px) {
    .faq-title {
        font-size: 1.2rem;
    }
    .faq-question {
        font-size: 0.8rem;
    }
    .faq-container {
        padding: 0.5rem;
        margin: 0 auto;
        width: 90%;
        max-width: 300px;
        box-sizing: border-box;
        min-height: 300px; /* Adjust minimum height */
    }
    .icon {
        width: 14px;
        height: 14px;
    }
}
