/* FAQ Page Specific Styles */
.faq-page {
    background: var(--off-white);
}

/* FAQ Accordion Container */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* FAQ Item */
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
    border-color: var(--homi-green);
    box-shadow: 0 4px 16px rgba(91, 158, 165, 0.2);
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--homi-primary);
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    color: var(--homi-green);
}
.faq-item.active .faq-question {
    border-bottom: 1px solid var(--homi-green);
}
.faq-question span {
    flex: 1;
    padding-right: 1.5rem;
    line-height: 1.6;
}

/* FAQ Icon */
.faq-icon {
    font-size: 1.5rem;
    color: var(--homi-green);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.fade-in-section{
    opacity: 1!important;
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
    padding: 0 2rem;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 1.5rem 2rem 1.5rem 2rem;
    opacity: 1;
}

.faq-answer p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--muted);
    line-height: 1.8;
}

.faq-answer ul li {
    margin-bottom: 0.75rem;
    position: relative;
}

.faq-answer ul li::marker {
    color: var(--homi-green);
}

.faq-answer a {
    color: var(--homi-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: var(--homi-primary);
    text-decoration: underline;
}
    .faq-title {
        color: var(--homi-green);
    }
    
    .faq-section-title {
        color: var(--homi-primary);
    }
/* Responsive Design */
@media (max-width: 992px) {
    .faq-accordion {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
        border-bottom: 1px solid;
    }

    .faq-question span {
        padding-right: 1rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }

    .faq-icon {
        font-size: 1.25rem;
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .faq-accordion {
        gap: 1rem;
    }

    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        border-bottom: 1px solid;
    }

    .faq-answer {
        padding: 0 1.25rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1rem 1.25rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }
}
