/* FAQ Page Styles */

.faq-page {
    min-height: calc(100vh - 90px);
    background-color: #FEF9F8;
    padding: 60px 0;
}

.faq-header {
    text-align: left;
    margin-bottom: 60px;
}

.faq-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    font-size: 3rem;
    color: #CE4F49;
    margin: 0;
    letter-spacing: -0.025em;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #374151;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.faq-icon i {
    font-size: 16px;
    color: #CE4F49;
    font-weight: 600;
}

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

.faq-item.active .faq-question {
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #ffffff;
}

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

.faq-answer p {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

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

.faq-answer ul {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .faq-page {
        padding: 40px 0;
    }

    .faq-title {
        font-size: 2.25rem;
        margin-bottom: 40px;
    }

    .faq-content {
        padding: 0 15px;
    }

    .faq-question {
        padding: 20px 20px;
    }

    .faq-question h3 {
        font-size: 1.125rem;
        padding-right: 15px;
    }

    .faq-item.active .faq-answer {
        padding: 20px 20px 24px 20px;
    }

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

@media (max-width: 480px) {
    .faq-title {
        font-size: 1.875rem;
    }

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

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 18px 16px 22px 16px;
    }

    .faq-answer p,
    .faq-answer ul {
        font-size: 0.9rem;
    }
}

/* Medium-large screen adjustments */
@media (min-width: 1200px) {
    .faq-content {
        background: white;
        padding: 40px;
        border-radius: 20px;
        max-width: 900px;
    }
}

@media (min-width: 1400px) {
    .faq-content {
        background: white;
        padding: 45px;
        border-radius: 22px;
        max-width: 1200px;
    }
}

/* Large screen adjustments */
@media (min-width: 1920px) {
    .faq-page {
        padding: 80px 0;
    }

    .faq-title {
        font-size: 3.5rem;
    }

    .faq-content {
        max-width: 1800px;
        background: white;
        padding: 50px;
        width: 1500px;
        border-radius: 25px;
    }

    .faq-question h3 {
        font-size: 1.375rem;
    }

    .faq-answer p,
    .faq-answer ul {
        font-size: 1.125rem;
    }
}

/* Animation for smooth opening/closing */
.faq-answer {
    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;
    opacity: 0;
}

.faq-item.active .faq-answer {
    opacity: 1;
}

/* Focus states for accessibility */
.faq-question:focus {
    outline: 2px solid #CE4F49;
    outline-offset: 2px;
}

.faq-question:focus-visible {
    outline: 2px solid #CE4F49;
    outline-offset: 2px;
}