/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: #F5F8FF; /* Light blueish background, same as Docs */
    color: #000;
}

.faq-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Left Side */
.faq-header {
    width: 30%;
    padding-right: 40px;
    position: sticky;
    top: 100px;
}

.faq-title {
    font-size: 48px;
    font-weight: 600;
    /* Updated gradient text */
    background: linear-gradient(180deg, #14284E 5.65%, #2E5CB4 92.34%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #13519C; /* Fallback */
    margin-bottom: 20px;
}

.faq-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    font-weight: 500; /* Increased weight */
}

/* Right Side Accordion */
.faq-accordion {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* FAQ Item */
.faq-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    /* Box shadow removed as requested */
    background: #fff; /* Ensure bg stays white */
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500; /* Changed from 600 */
    color: #131B2C;
}

/* Removed hover color change as requested */

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-vertical {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.faq-item.active .faq-vertical {
    transform: scaleY(0); /* Collapses vertical line to make a minus */
    opacity: 0;
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 30px 25px 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    font-weight: 400; /* Explicitly set */
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .faq-header {
        position: static;
        top: auto;
        width: 40%;
        padding-right: 24px;
    }

    .faq-accordion {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0; /* Consistent with other sections */
    }

    .faq-wrapper {
        flex-direction: column;
    }

    .faq-header {
        width: 100%;
        margin-bottom: 32px;
        padding-right: 0;
    }

    .faq-accordion {
        width: 100%;
    }

    .faq-title {
        font-size: 32px; /* Consistent with other sections (was 36px) */
    }
    
    .faq-question {
        padding: 20px;
        font-size: 16px;
    }
    
    .faq-answer-inner {
        padding: 0 20px 20px 20px;
    }
}
