/* style/faqs.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* Base styles for the page */
.page-faqs {
    font-family: Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--background-color);
    line-height: 1.6;
}

/* Hero Section */
.page-faqs__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-faqs__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-faqs__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    padding: 20px;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
    border-radius: 10px;
}

.page-faqs__main-title {
    color: var(--text-main);
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-faqs__hero-description {
    color: var(--text-secondary);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-faqs__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faqs__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-faqs__cta-button--large {
    padding: 15px 40px;
    font-size: 1.2em;
}

/* General Section Styles */
.page-faqs__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--divider-color);
}

.page-faqs__section-title {
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.2em;
    font-weight: bold;
}

.page-faqs__section-description {
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.05em;
}

.page-faqs__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-faqs__highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

/* FAQ List Styles */
.page-faqs__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.page-faqs__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-faqs__faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(var(--primary-color), 0.3);
}

.page-faqs__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--border-color);
    list-style: none; /* For details/summary */
}

.page-faqs__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

.page-faqs__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

.page-faqs__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-faqs__faq-item[open] .page-faqs__faq-question {
    border-bottom-color: var(--primary-color);
}

.page-faqs__faq-answer {
    padding: 20px;
    color: var(--text-secondary);
    font-size: 1em;
    text-align: left;
}

.page-faqs__faq-answer p {
    margin-bottom: 10px;
}

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

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

/* Image within content sections */
.page-faqs__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Dark sections for contrast */
.page-faqs__dark-section {
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-faqs__dark-section .page-faqs__section-title {
    color: var(--gold-color);
}

.page-faqs__dark-section .page-faqs__section-description {
    color: var(--text-secondary);
}

/* Conclusion Section */
.page-faqs__conclusion {
    text-align: center;
    padding: 80px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-faqs__hero-content {
        max-width: 700px;
    }

    .page-faqs__main-title {
        font-size: 2.5em;
    }

    .page-faqs__hero-description {
        font-size: 1em;
    }

    .page-faqs__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-faqs__hero-content {
        max-width: 90%;
        padding: 15px;
    }

    .page-faqs__main-title {
        font-size: 2em;
    }

    .page-faqs__hero-description {
        font-size: 0.9em;
    }

    .page-faqs__cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }

    .page-faqs__cta-button--large {
        padding: 12px 30px;
        font-size: 1em;
    }

    .page-faqs__section {
        padding: 40px 0;
    }

    .page-faqs__section-title {
        font-size: 1.8em;
    }

    .page-faqs__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-faqs__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-faqs__faq-answer {
        font-size: 0.9em;
        padding: 15px;
    }

    /* Mobile image responsive styles */
    .page-faqs img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-faqs__hero-section,
    .page-faqs__section,
    .page-faqs__container,
    .page-faqs__faq-list,
    .page-faqs__faq-item,
    .page-faqs__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-faqs__hero-section {
        padding-top: 10px !important;
    }

    /* Mobile button responsive styles */
    .page-faqs__cta-button,
    .page-faqs a[class*="button"],
    .page-faqs 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;
        text-align: center;
    }

    .page-faqs__cta-button--large {
        margin-top: 20px;
    }

    .page-faqs__cta-buttons,
    .page-faqs__button-group,
    .page-faqs__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-faqs__main-title {
        font-size: 1.8em;
    }

    .page-faqs__hero-description {
        font-size: 0.85em;
    }

    .page-faqs__section-title {
        font-size: 1.6em;
    }

    .page-faqs__faq-question {
        font-size: 0.95em;
    }
}