/* FAQ Block Styles */
.faq-block {
    padding: 80px 0;
    background-color: var(--background-light);
}

.faq-block .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.faq-block .faq-block-title {
    color: var(--olive-dark);
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.faq-block .faq-block-subtitle {
    color: var(--text-light);
    font-size: 18px;
    margin-top: 30px;
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* Accordion Styles */
.faq-block .faq-accordion {
    margin-bottom: 30px;
    border-top: 1px solid var(--border-color);
}

.faq-block .faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-block .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-block .faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    padding-right: 20px;
    position: relative;
    display: flex;
    align-items: center;
}

.faq-block .faq-question h3::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 15px;
    color: var(--olive-light);
    transition: transform 0.3s ease;
}

.faq-block .faq-item.active .faq-question h3::before {
    transform: rotate(90deg);
}

.faq-block .faq-toggle {
    display: none; /* Hide the toggle icon as we're using the ::before pseudo-element */
}

/* Answer Styles */
.faq-block .faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-block .faq-item.active .faq-answer {
    padding: 0 0 20px 33px; /* Indent to align with the question text */
    max-height: 1000px; /* Arbitrary large value to ensure content fits */
}

.faq-block .faq-answer p {
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-light);
}

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

/* Contact CTA at the bottom */
.faq-block .contact-cta {
    margin-top: 30px;
    font-size: 16px;
}

.faq-block .contact-cta a {
    color: var(--olive-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-block .contact-cta a:hover {
    color: var(--olive-darkest);
    text-decoration: underline;
}

/* No FAQs Message */
.faq-block .no-faqs-message {
    padding: 30px;
    background-color: var(--olive-lightest);
    border-radius: 8px;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .faq-block .container {
        max-width: 96%;
    }
}

@media (max-width: 768px) {
    .faq-block {
        padding: 60px 0;
    }
    
    .faq-block .faq-block-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .faq-block .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-block .faq-item.active .faq-answer {
        padding: 0 0 20px 25px;
    }
}

@media (max-width: 576px) {
    .faq-block .faq-block-title {
        font-size: 24px;
    }
    
    .faq-block .faq-question {
        padding: 15px 0;
    }
    
    .faq-block .faq-question h3::before {
        margin-right: 10px;
    }
    
    .faq-block .faq-item.active .faq-answer {
        padding: 0 0 15px 20px;
    }
} 