/* assets/css/faq.css */

/* Main Section */
.faq-section {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    margin-top: 2rem;
    padding: 1rem;
    scroll-margin-top: 6rem;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.line-text-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.line-text-container hr {
    flex: 1;
    border: none;
    border-top: 2px solid;
    opacity: 0.8;
}

.line-text-container h2 {
    white-space: nowrap;
    font-weight: 400;
    letter-spacing: 0.05em;
    font-size: 1.25rem;
    text-align: center;
}

/* FAQ Container */
.faq-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.faq-wrapper {
    width: 100%;
    border-radius: 0.75rem;
    border: 2px solid;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* FAQ Item */
.faq-item {
    border-bottom: 1px solid rgba(47, 79, 79, 0.3);
    padding-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* FAQ Question Button */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    transition: opacity 0.2s;
}

.faq-question:hover {
    opacity: 0.8;
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 1rem;
}

/* FAQ Icon */
.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-icon i {
    width: 24px;
    height: 24px;
}

/* FAQ Answer */
.faq-answer {
    margin-top: 0.5rem;
    padding-left: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (min-width: 640px) {
    .faq-question {
        font-size: 1.125rem;
    }

    .faq-answer {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .faq-wrapper {
        padding: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .faq-section {
        padding: 1rem;
    }
}