/* FAQ Section */
.faq-section {
    background: #ffffff;
    padding: 80px 20px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ Header */
.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 16px 0;
}

.faq-header p {
    font-size: 18px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Individual FAQ Item */
.faq-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.05);
}

.question-text {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    padding-right: 20px;
    line-height: 1.4;
}

/* FAQ Icon */
.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #667eea;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.faq-icon svg {
    color: white;
    transition: transform 0.3s ease;
}

/* Rotate icon when active */
.faq-item.active .faq-icon svg {
    transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.answer-content {
    padding: 0 24px 24px;
}

.answer-content p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* Active state */
.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active {
    background: #ffffff;
    border-color: #667eea;
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
    .faq-section {
        padding: 70px 20px;
    }

    .faq-header h2 {
        font-size: 36px;
    }

    .faq-header p {
        font-size: 16px;
    }

    .question-text {
        font-size: 17px;
    }

    .answer-content p {
        font-size: 15px;
    }
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 16px;
    }

    .faq-header {
        margin-bottom: 40px;
    }

    .faq-header h2 {
        font-size: 32px;
    }

    .faq-header p {
        font-size: 15px;
    }

    .faq-accordion {
        gap: 12px;
    }

    .faq-question {
        padding: 16px 20px;
    }

    .question-text {
        font-size: 16px;
    }

    .faq-icon {
        width: 28px;
        height: 28px;
    }

    .faq-icon svg {
        width: 20px;
        height: 20px;
    }

    .answer-content {
        padding: 0 20px 20px;
    }

    .answer-content p {
        font-size: 14px;
    }
}

/* Responsive: Small Mobile */
@media (max-width: 480px) {
    .faq-header h2 {
        font-size: 28px;
    }

    .question-text {
        font-size: 15px;
    }

    .answer-content p {
        font-size: 13px;
    }
}
