.main-content {
    background-color: #ffedfd; 
    padding: 2rem;             
    margin: 2rem;        
    max-width: 100%;          
    min-height: 60vh;          
}

/* ── FAQ Wrapper ── */
.faq-wrapper {
    max-width: 780px;
    margin: 0 auto;
    padding: 1rem 0;
}

/* ── Header ── */
.faq-header {
    margin-bottom: 1.5rem;
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.faq-subtitle {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

.faq-link {
    color: #3b5bdb;
    text-decoration: underline;
    font-weight: 500;
}

.faq-link:hover {
    color: #2244c4;
}

/* ── FAQ List ── */
.faq-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ddd;
}

.faq-section-title {
    border-radius: 10px;
    padding: 0.75rem;
    background-color: #ffccf9 !important;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 1rem 0 0 0;
}

/* ── Individual Item ── */
.faq-item {
    border-bottom: 1px solid #ddd;
    overflow: hidden;
}

/* ── Question Button ── */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    text-align: left;
    gap: 1rem;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #3b5bdb;
}

.faq-icon {
    font-size: 1rem;
    flex-shrink: 0;
    color: #3b5bdb;
    transition: transform 0.3s ease;
}

/* ── Answer Panel ── */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    padding: 0 0.25rem;
}

.faq-answer p {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.7;
    margin: 0 0 1.25rem 0;
}

/* ── Active / Open State ── */
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 0.25rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
