/* style/faq.css */

:root {
    --primary-color: #1a2a3a;
    --secondary-color: #ffcc00;
    --text-color: #333333;
    --light-text-color: #ffffff;
    --background-light: #f4f4f4;
    --background-dark: #1a2a3a;
    --border-color: #e0e0e0;
}

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

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

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

.page-faq .highlight {
    color: var(--secondary-color);
}

/* Hero Section */
.page-faq .hero-faq {
    position: relative;
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text-color);
    overflow: hidden;
    text-align: center;
}

.page-faq .hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-faq .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    filter: brightness(0.6);
}

.page-faq .hero-overlay {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
}

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

.page-faq .hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--light-text-color);
}

.page-faq .hero-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-faq .hero-link:hover {
    color: #ffd700; /* Slightly brighter gold on hover */
}

/* Section Title & Intro */
.page-faq .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-faq .section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: var(--text-color);
}

.page-faq .text-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-faq .text-link:hover {
    color: var(--secondary-color);
}

/* FAQ List */
.page-faq .faq-list {
    margin-top: 30px;
}

.page-faq .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

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

.page-faq .faq-question:hover {
    background: var(--background-light);
}

.page-faq .faq-question h3 {
    margin: 0;
    font-size: 1.3em;
    color: var(--primary-color);
    flex-grow: 1;
}

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

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

.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: var(--background-light);
    color: var(--text-color);
    border-top: 1px solid var(--border-color);
}

.page-faq .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 20px 25px;
}

.page-faq .faq-answer p {
    margin-bottom: 15px;
    font-size: 1em;
    color: var(--text-color);
}

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

/* CTA Button inside FAQ answer */
.page-faq .faq-answer .cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.page-faq .faq-answer .cta-button:hover {
    background: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General CTA Section */
.page-faq .cta-section {
    background: linear-gradient(135deg, var(--primary-color), #2d455c);
    padding: 60px 20px;
    margin-top: 50px;
    border-radius: 8px;
}

.page-faq .cta-title {
    font-size: 2.8em;
    color: var(--light-text-color);
    margin-bottom: 20px;
}

.page-faq .cta-description {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq .cta-button.large-button {
    display: inline-block;
    padding: 18px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.4em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq .cta-button.large-button:hover {
    background: #ffd700;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-faq .hero-title {
        font-size: 2.8em;
    }
    .page-faq .hero-description {
        font-size: 1.1em;
    }
    .page-faq .section-title {
        font-size: 2em;
    }
    .page-faq .cta-title {
        font-size: 2.2em;
    }
    .page-faq .cta-button.large-button {
        padding: 15px 30px;
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-faq .hero-overlay {
        padding: 30px 15px;
    }
    .page-faq .hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-faq .hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-faq .section-title {
        font-size: 1.8em;
        padding-top: 30px;
    }
    .page-faq .section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-faq .faq-question {
        padding: 15px 20px;
    }
    .page-faq .faq-question h3 {
        font-size: 1.1em;
    }
    .page-faq .faq-toggle {
        font-size: 20px;
    }
    .page-faq .faq-answer {
        padding: 0 20px;
    }
    .page-faq .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-faq .cta-section {
        padding: 40px 15px;
    }
    .page-faq .cta-title {
        font-size: 1.8em;
    }
    .page-faq .cta-description {
        font-size: 1em;
    }
    .page-faq .cta-button.large-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-faq .hero-title {
        font-size: 1.8em;
    }
    .page-faq .hero-description {
        font-size: 0.9em;
    }
    .page-faq .section-title {
        font-size: 1.5em;
    }
    .page-faq .faq-question {
        flex-direction: column;
        align-items: flex-start;
    }
    .page-faq .faq-question h3 {
        margin-bottom: 8px;
    }
    .page-faq .faq-toggle {
        align-self: flex-end;
        margin-top: -30px;
        margin-right: 0;
    }
    .page-faq .cta-title {
        font-size: 1.5em;
    }
    .page-faq .cta-button.large-button {
        width: 100%;
        max-width: 280px;
    }
}