/* ============================================
   FAQs Section - Clean & Professional Design
   ============================================ */

.faqs-section {
    padding: 80px 0;
    background: #ffffff !important;
    /* Pure white for two-tone rhythm */
    position: relative;
    overflow: hidden;
}

/* Explicitly remove any ::before pseudo-element */
.faqs-section::before {
    display: none !important;
    content: none !important;
    background: none !important;
}

.faqs-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* FAQ Item */
.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.faq-item.active {
    border-color: #3b82f6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

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

/* Question Header */
.faq-question {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    user-select: none;
    transition: background-color 0.2s ease;
    position: relative;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-item.active .faq-question {
    background-color: #eff6ff;
    border-bottom: 1px solid #dbeafe;
}

/* Icon/Bullet */
.faq-bullet {
    font-size: 18px;
    font-weight: 700;
    color: #3b82f6;
    line-height: 0;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #eff6ff;
    border-radius: 6px;
    padding: 0;
    margin: 0;
}

.faq-item.active .faq-bullet {
    transform: rotate(45deg);
    background: #3b82f6;
    color: white;
}

/* Question Content */
.faq-question-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-question-text {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.5;
    flex: 1;
}

.faq-item.active .faq-question-text {
    color: #1e40af;
}

.faq-icon {
    display: none;
    /* Removed - redundant with + bullet */
}

/* Answer Section - Fixed with max-height */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-text {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    padding: 8px 24px 20px 58px;
}

.faq-answer-text p {
    margin: 0 0 12px 0;
}

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

/* Empty State */
.faqs-empty {
    text-align: center;
    padding: 80px 20px;
    color: #9ca3af;
    background: white;
    border-radius: 12px;
    border: 2px dashed #e5e7eb;
}

.faqs-empty i {
    width: 64px;
    height: 64px;
    opacity: 0.3;
    margin-bottom: 16px;
}

.faqs-empty p {
    font-size: 16px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faqs-section {
        padding: 60px 0;
    }

    .faqs-container {
        margin: 0 16px;
    }

    .faq-item {
        margin-bottom: 10px;
        border-radius: 8px;
    }

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

    .faq-bullet {
        font-size: 16px;
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
        border-radius: 5px;
    }

    .faq-question-content {
        gap: 12px;
    }

    .faq-question-text {
        font-size: 15px;
    }

    .faq-answer-text {
        font-size: 14px;
        line-height: 1.65;
        padding: 8px 18px 16px 48px;
    }

    .faqs-empty {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 14px 16px;
        gap: 10px;
    }

    .faq-bullet {
        font-size: 14px;
        width: 22px;
        height: 22px;
        min-width: 22px;
        min-height: 22px;
        border-radius: 4px;
    }

    .faq-question-text {
        font-size: 14px;
    }

    .faq-answer-text {
        font-size: 13px;
        padding: 8px 16px 14px 42px;
    }
}
