/* ==========================================================================
   TESTIMONIALS AND FAQ PAGE STYLES - Extends base.css
   ========================================================================== */


body{
    padding-top: 80px;
}

/* Main Testimonials Section */
.testimonials {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.testimonials h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #4a3f35;
}

.testimonials > p {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #555;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Testimonials Grid */
.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.client-testimonial {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #4a3f35;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: fit-content;
    align-self: start;
}

.client-testimonial:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.client-testimonial h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.client-testimonial p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.6;
}

.client-testimonial cite {
    font-style: italic;
    font-weight: 600;
    color: #4a3f35;
    text-align: right;
    margin-bottom: 0;
}

/* Testimonials CTA */
.testimonials-CTA {
    grid-column: 1 / -1;
    text-align: center;
    background-color: #4a3f35;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.testimonials-CTA p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
}

.submit-testimonial-button button {
    background-color: #ffffff;
    color: #4a3f35;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.submit-testimonial-button button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* CTA Section */
.CTA {
    background-color: #f8f9fa;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 2rem;
}

.CTA h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.CTA p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.get-in-touch-button button {
    background-color: #4a3f35;
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.get-in-touch-button button:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
}

.faq-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #f8f9fa;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    border: none;
    width: 100%;
    text-align: left;
    transition: background-color 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    color: #4a3f35;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '−';
    transform: rotate(180deg);
}

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

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 768px) {
    .testimonials {
        padding: 1.5rem;
    }

    .testimonials h1 {
        font-size: 2rem;
    }

    .testimonials h2 {
        font-size: 1.8rem;
    }

    .testimonial-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial1,
    .testimonial2,
    .testimonial3,
    .testimonial4,
    .testimonial5,
    .testimonial6,
    .testimonial7 {
        padding: 1.5rem;
    }

    .CTA {
        padding: 2rem 1.5rem;
    }

    .CTA h2 {
        font-size: 1.8rem;
    }

    .faq-section {
        padding: 2rem 1.5rem;
    }

    .faq-section h2 {
        font-size: 2rem;
    }

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

    .faq-question::after {
        right: 1rem;
    }

    .faq-answer.active {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonials h1 {
        font-size: 1.8rem;
    }

    .testimonials h2 {
        font-size: 1.5rem;
    }

    .testimonial1,
    .testimonial2,
    .testimonial3,
    .testimonial4,
    .testimonial5,
    .testimonial6,
    .testimonial7 {
        padding: 1.25rem;
    }

    .submit-testimonial-button button,
    .get-in-touch-button button {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}