/* General Reset and Base Styles */
main {
    max-width: 100%;
    margin: 0 auto;
    /* background-color: #fff; */
    padding: 40px 80px;
    border-radius: 8px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
    max-width: 1200px;
}

h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
    margin-left: 10px;
}

/* --- Frequently Asked Questions Styling --- */
.faq-section {
    margin-bottom: 60px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #333;
}

.faq-icon {
    font-size: 1.5em;
    line-height: 1;
    transform: rotate(180deg); /* Downward arrow */
    transition: transform 0.3s ease;
    color: #888;
}

.faq-item.active .faq-question {
    color: #000; /* Darker text when active */
}

.faq-item.active .faq-icon {
    transform: rotate(0deg); /* Upward arrow when active */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f9f9fb;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* padding: 15px 25px 25px; */
}

.faq-answer p {
    font-size: 0.95em;
    color: #555;
}

@media (max-width: 768px) {
    main {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    .faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
}