/* Match user requested design */
.faq-section {
    padding: 60px 0;
    position: relative;
    background: #0f1015;
    /* Extremely dark background */
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #fff;
}

.faq-title span {
    color: #10b981;
    background: none;
    -webkit-text-fill-color: initial;
}

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

.faq-item {
    background: #15171e;
    /* Darker card bg */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active {
    border-color: #10b981;
    /* Green border when active */
    background: #1a1d26;
}

.faq-item:hover:not(.active) {
    border-color: rgba(16, 185, 129, 0.5);
    /* Subtle green border on hover */
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    user-select: none;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: #e2e8f0;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    /* Low opacity green bg */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-icon i {
    color: #10b981;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

/* Rotate icon when active */
.faq-item.active .faq-icon i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 24px 20px 24px;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle line separator */
    margin-top: 5px;
    padding-top: 15px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Arbitrary large height */
}

/* View More Button */
.view-more-container {
    text-align: center;
    margin-top: 2rem;
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-more:hover {
    background: var(--primary-green);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.btn-view-more i {
    transition: transform 0.3s ease;
}

.btn-view-more:hover i {
    transform: translateY(2px);
}

.btn-view-more.expanded i {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-title {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 16px 18px;
    }

    .faq-question h4 {
        font-size: 0.95rem;
    }

    .faq-answer-content {
        padding: 0 18px 16px;
        font-size: 0.9rem;
    }
}