/* style/faq.css */
:root {
    --primary-color: #1A202C;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0a0a0a;
    --bg-card-dark: rgba(255, 255, 255, 0.1);
}

.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Body background is dark #0a0a0a */
    background-color: var(--bg-dark);
}

.page-faq__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: var(--primary-color);
    color: var(--text-light);
    overflow: hidden;
}

.page-faq__hero-content {
    max-width: 900px;
    z-index: 10;
    position: relative;
}

.page-faq__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-faq__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-faq__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-faq__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: grayscale(50%);
}

.page-faq__section-title {
    font-size: 2.2em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 50px;
    padding-top: 40px;
}

.page-faq__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-faq__dark-section {
    background-color: var(--primary-color);
    padding: 60px 0;
}

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

.page-faq__faq-item {
    background-color: var(--bg-card-dark);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.page-faq__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

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

.page-faq__faq-answer p {
    margin-bottom: 15px;
    font-size: 1em;
}

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

.page-faq__faq-heading {
    font-size: 1.2em;
    margin: 0;
    color: var(--secondary-color);
}

.page-faq__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-faq__cta-section {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-faq__cta-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-faq__cta-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

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

.page-faq__btn-primary:hover {
    background-color: darken(var(--secondary-color), 10%);
    color: var(--primary-color);
}

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

.page-faq__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-faq__hero-title {
        font-size: 2.2em;
    }
    .page-faq__section-title {
        font-size: 1.8em;
    }
    .page-faq__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section {
        padding: 60px 15px;
    }
    .page-faq__hero-title {
        font-size: 1.8em;
    }
    .page-faq__hero-description {
        font-size: 1em;
    }
    .page-faq__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-faq__section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }
    .page-faq__dark-section {
        padding: 40px 0;
    }
    .page-faq__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-faq__faq-answer {
        padding: 0 20px;
    }
    .page-faq__faq-item.active .page-faq__faq-answer {
        padding: 10px 20px 15px;
    }
    .page-faq__faq-heading {
        font-size: 1.1em;
    }
    .page-faq__cta-section {
        padding: 60px 15px;
    }
    .page-faq__cta-title {
        font-size: 1.8em;
    }
    .page-faq__cta-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* Mobile image responsiveness */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__hero-section,
    .page-faq__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-faq__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Mobile button responsiveness */
    .page-faq__cta-button,
    .page-faq__btn-primary,
    .page-faq__btn-secondary,
    .page-faq a[class*="button"],
    .page-faq a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-faq__cta-buttons,
    .page-faq__button-group,
    .page-faq__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-faq__cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-faq__hero-title {
        font-size: 1.5em;
    }
    .page-faq__hero-description {
        font-size: 0.95em;
    }
    .page-faq__section-title {
        font-size: 1.4em;
    }
    .page-faq__faq-question {
        font-size: 1em;
    }
    .page-faq__faq-heading {
        font-size: 1em;
    }
    .page-faq__cta-title {
        font-size: 1.6em;
    }
}