/* FAQ Page Styles */

.faq-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
    background-color: #edf3f1;
}

.faq-title {
    text-align: center;
    color: #103f1d;
    font-size: 3rem;
    /* Reduced from 130px */
    margin-bottom: 40px;
    margin-top: 20px;
    font-weight: 700;
}

.faq-container {
    border-top: 1px solid #ccc;
    background: #fff;
    /* Optional: adds contrast like other sections */
    border-radius: 8px;
    /* Soften edges */
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item {
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item.open {
    background-color: #f9fdfb;
    /* Lighter active state */
}

.faq-item:hover {
    background-color: #f4f9f7;
}

.faq-question {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    text-align: left;
    padding: 20px 30px;
    /* Reduced padding */
    font-size: 1.25rem;
    /* Reduced from 35px */
    font-weight: 600;
    color: #103f1d;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #f77037;
}

.faq-question .icon {
    color: #f77037;
    font-size: 1.5rem;
    /* Reduced from 50px */
    transition: transform 0.3s ease;
    font-weight: 400;
}

.faq-answer {
    padding: 0 30px 25px;
    /* Reduced padding */
    font-size: 1rem;
    /* Reduced from 35px */
    line-height: 1.6;
    color: #555;
    display: none;
    cursor: default;
    /* Text shouldn't look clickable */
    max-width: 900px;
    /* Readability constraint */
}

.faq-item.open .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

.faq-item.open .faq-question .icon {
    transform: rotate(45deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsiveness */
@media (max-width: 768px) {
    .faq-title {
        font-size: 2.2rem;
    }

    .faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .faq-answer {
        font-size: 0.95rem;
        padding: 0 20px 20px;
    }
}