/* style/faq.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #B22222; /* Firebrick */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark: #1a1a1a;
    --bg-medium: #2a2a2a;
    --bg-light-grey: #f5f5f5;
    --border-color: #e0e0e0;
}

.page-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f9f9f9;
}

.page-faq .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-faq .text-center {
    text-align: center;
}

/* Hero Section */
.page-faq .faq-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 0;
    color: var(--text-light);
    text-align: center;
    border-bottom: 5px solid var(--primary-color);
}

.page-faq .hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq .hero-description {
    font-size: 1.15em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-faq .hero-description a {
    color: var(--text-light);
    font-weight: bold;
    text-decoration: underline;
}

.page-faq .hero-description a:hover {
    color: var(--primary-color);
}

.page-faq .hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
}

/* Section Styling */
.page-faq .faq-section {
    padding: 60px 0;
}

.page-faq .faq-section.bg-light-grey {
    background-color: var(--bg-light-grey);
}

.page-faq .section-title {
    font-size: 2.2em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-faq .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-faq .section-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Items */
.page-faq .faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-faq .faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-faq .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-faq .faq-question:hover {
    background: #f0f0f0;
}

.page-faq .faq-question h3 {
    margin: 0;
    font-size: 1.15em;
    color: var(--text-dark);
    flex-grow: 1;
    line-height: 1.4;
}

.page-faq .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.page-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #fefefe;
    color: var(--text-dark);
}

.page-faq .faq-answer p {
    margin: 0 0 15px 0;
    padding-top: 15px;
}

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

.page-faq .faq-answer a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-faq .faq-answer a:hover {
    color: var(--primary-color);
}

.page-faq .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed to fit content */
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
}

.page-faq .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

/* Call to Action Button */
.page-faq .cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}

.page-faq .cta-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq .cta-button.large-button {
    padding: 18px 40px;
    font-size: 1.2em;
    margin-top: 40px;
}

/* Final CTA Section */
.page-faq .final-cta {
    background-color: var(--bg-medium);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page-faq .final-cta .section-title {
    color: var(--primary-color);
}

.page-faq .final-cta .section-title::after {
    background-color: var(--text-light);
}

.page-faq .final-cta .description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-faq .final-cta .description a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: underline;
}

.page-faq .final-cta .description a:hover {
    color: var(--text-light);
}

/* Internal Links */
.page-faq .internal-link {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-faq .internal-link:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-faq .hero-title {
        font-size: 2.2em;
    }
    .page-faq .hero-description {
        font-size: 1em;
    }
    .page-faq .section-title {
        font-size: 1.8em;
    }
    .page-faq .faq-question h3 {
        font-size: 1em;
    }
    .page-faq .faq-toggle {
        font-size: 1.5em;
    }
    .page-faq .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-faq .cta-button.large-button {
        padding: 15px 35px;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-faq .faq-hero {
        padding: 40px 0;
    }
    .page-faq .hero-title {
        font-size: 1.8em;
    }
    .page-faq .hero-description {
        font-size: 0.95em;
    }
    .page-faq .faq-section {
        padding: 40px 0;
    }
    .page-faq .section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }
    .page-faq .faq-question {
        padding: 15px 20px;
    }
    .page-faq .faq-question h3 {
        font-size: 0.95em;
    }
    .page-faq .faq-toggle {
        font-size: 1.3em;
    }
    .page-faq .faq-answer {
        padding: 0 20px;
    }
    .page-faq .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-faq .final-cta {
        padding: 60px 0;
    }
    .page-faq .final-cta .section-title {
        font-size: 1.8em;
    }
    .page-faq .final-cta .description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-faq .hero-title {
        font-size: 1.5em;
    }
    .page-faq .section-title {
        font-size: 1.4em;
    }
    .page-faq .faq-question {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 15px;
    }
    .page-faq .faq-question h3 {
        margin-bottom: 5px;
        font-size: 0.9em;
    }
    .page-faq .faq-toggle {
        align-self: flex-end;
        margin-top: -25px;
        margin-right: 5px;
    }
    .page-faq .faq-answer {
        padding: 0 15px;
    }
    .page-faq .faq-item.active .faq-answer {
        padding: 10px 15px;
    }
    .page-faq .cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-faq .cta-button.large-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-faq .final-cta .section-title {
        font-size: 1.6em;
    }
}