/* style/faq.css */
:root {
    --primary-color: #DAA520; /* Gold */
    --secondary-color: #1E1E1E; /* Dark Black */
    --accent-color: #CC0000; /* Deep Red */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f1f3f5;
    --border-color: #e0e0e0;
}

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

/* Fixed navigation bar spacing */
.page-faq__hero-faq-section {
    padding-top: 120px; /* Desktop spacing for fixed header */
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq__hero-faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Overlay for text readability */
    z-index: 1;
}

.page-faq__hero-faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

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

.page-faq__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-faq__intro-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

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

.page-faq__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-button:hover {
    background: #FF4500;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__faq-list-section {
    padding: 60px 0;
    background: var(--background-light);
}

.page-faq__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-faq__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-faq__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-faq__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color-dark);
    pointer-events: none;
}

.page-faq__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

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

.page-faq__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.page-faq__faq-item.active .page-faq__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain any content */
    padding: 20px 25px !important;
    opacity: 1;
}

.page-faq__faq-answer p {
    margin-bottom: 10px;
    color: var(--text-color-dark);
}

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

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

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

.page-faq__faq-answer ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 10px;
}

.page-faq__faq-answer ol {
    list-style: decimal inside;
    margin-left: 20px;
    margin-bottom: 10px;
}

.page-faq__faq-answer li {
    margin-bottom: 5px;
}

.page-faq__call-to-action-section {
    background: var(--secondary-color);
    padding: 80px 20px;
    text-align: center;
    color: var(--text-color-light);
}

.page-faq__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-faq__cta-title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-color-light);
}

.page-faq__cta-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-faq__cta-title a:hover {
    text-decoration: underline;
}

.page-faq__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-faq__cta-description a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-faq__cta-description a:hover {
    text-decoration: underline;
}

.page-faq__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.05em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__btn-primary {
    background: var(--primary-color);
    color: var(--text-color-light);
    border: 2px solid var(--primary-color);
}

.page-faq__btn-primary:hover {
    background: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-faq__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-color-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-faq__main-title {
        font-size: 2.8em;
    }
    .page-faq__intro-text {
        font-size: 1.1em;
    }
    .page-faq__cta-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-faq-section {
        padding-top: 100px; /* Mobile spacing for fixed header */
        padding-bottom: 40px;
    }
    .page-faq__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-faq__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-faq__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-faq__faq-list-section {
        padding: 40px 0;
    }
    .page-faq__faq-question {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    .page-faq__faq-question h3 {
        font-size: 1em;
        width: calc(100% - 40px);
    }
    .page-faq__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    .page-faq__faq-answer {
        padding: 0 20px;
    }
    .page-faq__faq-item.active .page-faq__faq-answer {
        padding: 15px 20px !important;
    }
    .page-faq__call-to-action-section {
        padding: 60px 15px;
    }
    .page-faq__cta-title {
        font-size: 1.6em;
    }
    .page-faq__cta-description {
        font-size: 0.95em;
    }
    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        width: 100%;
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-faq__main-title {
        font-size: 1.8em;
    }
    .page-faq__intro-text {
        font-size: 0.9em;
    }
    .page-faq__faq-question h3 {
        font-size: 0.95em;
    }
    .page-faq__cta-title {
        font-size: 1.4em;
    }
}