/* style/faq.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --background-light: #F8F8F8;
    --background-dark: #222222;
    --border-color: #E0E0E0;
    --hover-color: #FFC107; /* Lighter Gold for hover */
}

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

.page-faq .hero-faq-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
    text-align: center;
}

.page-faq .faq-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

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

.page-faq .faq-hero-content h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq .faq-hero-content p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
}

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

.page-faq .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--background-dark);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-faq .cta-button:hover {
    background: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-faq .faq-section {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.page-faq .faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-faq .section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-faq .section-description {
    font-size: 1.1em;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-faq .faq-item {
    background: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    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: 20px 25px;
    background: var(--text-light);
    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.2em;
    color: var(--text-dark);
    flex-grow: 1;
    text-align: left;
}

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

.page-faq .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-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: #f9f9f9;
    border-top: 1px solid var(--border-color);
}

.page-faq .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
    border-radius: 0 0 10px 10px;
}

.page-faq .faq-answer p {
    margin: 0;
    font-size: 1.05em;
    color: var(--text-dark);
}

.page-faq .faq-answer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-faq .faq-answer a:hover {
    text-decoration: underline;
}

.page-faq .call-to-action-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 80px 20px;
    color: var(--text-light);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-faq .cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.page-faq .cta-content {
    flex: 1 1 500px;
    text-align: left;
    max-width: 600px;
}

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

.page-faq .cta-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-faq .cta-content .cta-button {
    margin-right: 15px;
    margin-bottom: 15px;
}

.page-faq .cta-content .secondary-cta {
    background: none;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    box-shadow: none;
}

.page-faq .cta-content .secondary-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-faq .cta-image {
    flex: 1 1 400px;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-faq .faq-hero-content h1 {
        font-size: 2.8em;
    }
    .page-faq .section-title {
        font-size: 2em;
    }
    .page-faq .cta-content h2 {
        font-size: 2.2em;
    }
    .page-faq .cta-container {
        flex-direction: column;
        text-align: center;
    }
    .page-faq .cta-content {
        text-align: center;
        margin-bottom: 30px;
    }
    .page-faq .cta-content .cta-button {
        margin-right: 10px;
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    .page-faq .hero-faq-section, .page-faq .faq-section, .page-faq .call-to-action-section {
        padding: 40px 15px;
    }
    .page-faq .faq-hero-content h1 {
        font-size: 2.2em;
    }
    .page-faq .faq-hero-content p {
        font-size: 1em;
    }
    .page-faq .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-faq .section-title {
        font-size: 1.8em;
    }
    .page-faq .section-description {
        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: 1.5em;
    }
    .page-faq .faq-answer {
        padding: 0 20px;
    }
    .page-faq .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-faq .faq-answer p {
        font-size: 0.95em;
    }
    .page-faq .cta-content h2 {
        font-size: 1.8em;
    }
    .page-faq .cta-content p {
        font-size: 1em;
    }
    .page-faq .cta-image {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .page-faq .faq-hero-content h1 {
        font-size: 1.8em;
    }
    .page-faq .cta-button {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 10px;
    }
    .page-faq .cta-content .cta-button {
        display: block;
    }
    .page-faq .faq-question h3 {
        font-size: 1em;
    }
    .page-faq .faq-toggle {
        font-size: 1.3em;
    }
}