/* style/faq.css */

/* Base styles for the FAQ page */
.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

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

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

.page-faq__hero-image-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 30px;
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-faq__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.page-faq__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-faq__description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

/* Buttons */
.page-faq__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-faq__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    border: 2px solid transparent;
}

.page-faq__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-faq__btn-secondary {
    background: transparent;
    color: #F2FFF6; /* Text Main */
    border: 2px solid #2E7A4E; /* Border color */
}

.page-faq__btn-secondary:hover {
    background: #1E3A2A; /* Divider */
    color: #F2FFF6;
}

.page-faq__btn-inline {
    margin-top: 15px;
    width: auto; /* Allow inline buttons to size to content */
}

/* Introduction Section */
.page-faq__introduction-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
    text-align: center;
}

.page-faq__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #F2FFF6; /* Text Main */
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.2;
}

.page-faq__intro-text {
    font-size: 1.05rem;
    color: #A7D9B8; /* Text Secondary */
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ List Section */
.page-faq__faq-list-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

.page-faq__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border color */
    transition: all 0.3s ease;
    color: #F2FFF6; /* Text Main */
}

.page-faq__faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    padding: 10px 0;
    user-select: none;
    list-style: none; /* For details/summary */
}

.page-faq__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Webkit browsers */
}

.page-faq__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: #2AD16F;
}

.page-faq__faq-answer {
    font-size: 1.05rem;
    color: #A7D9B8; /* Text Secondary */
    padding-top: 15px;
    border-top: 1px solid #1E3A2A; /* Divider */
    margin-top: 15px;
}

.page-faq__faq-answer p {
    margin-bottom: 15px;
}

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

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

.page-faq__answer-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: 8px;
    object-fit: cover;
}

/* CTA Section */
.page-faq__cta-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
    text-align: center;
}

.page-faq__cta-text {
    font-size: 1.05rem;
    color: #A7D9B8; /* Text Secondary */
    max-width: 900px;
    margin: 0 auto 30px auto;
}

/* General image styling */
.page-faq img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-faq__hero-content {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .page-faq__container {
        padding: 0 15px;
    }

    .page-faq__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-faq__hero-content {
        padding: 0 15px;
    }

    .page-faq__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-faq__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-faq__btn-primary,
    .page-faq__btn-secondary,
    .page-faq a[class*="button"],
    .page-faq a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-faq__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 20px;
    }

    .page-faq__intro-text,
    .page-faq__cta-text,
    .page-faq__faq-answer p,
    .page-faq__faq-answer li {
        font-size: 0.95rem;
    }

    .page-faq__faq-question {
        font-size: 1.1rem;
        padding: 8px 0;
    }

    .page-faq__faq-toggle {
        font-size: 1.5rem;
    }

    .page-faq__faq-item {
        padding: 15px 20px;
    }

    .page-faq__introduction-section,
    .page-faq__faq-list-section,
    .page-faq__cta-section {
        padding: 40px 0;
    }

    /* Mobile image responsive adaptations */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-faq__hero-section {
        padding-bottom: 30px;
    }

    .page-faq__main-title {
        font-size: clamp(1.6rem, 8vw, 2rem);
    }

    .page-faq__section-title {
        font-size: clamp(1.4rem, 7vw, 1.8rem);
    }

    .page-faq__faq-question {
        font-size: 1rem;
    }

    .page-faq__faq-toggle {
        font-size: 1.3rem;
    }

    .page-faq__faq-item {
        padding: 12px 15px;
    }
}