/* style/support.css */
/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #121212; /* Inherited from shared, but explicitly set for clarity */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding: 80px 20px 40px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    text-align: center;
    background-color: #017439; /* Brand green for hero */
    color: #ffffff;
    overflow: hidden; /* For image positioning */
}

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

.page-support__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

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

.page-support__hero-description a {
    color: #FFFF00; /* Yellow for links in hero description */
    text-decoration: underline;
}

.page-support__hero-image {
    width: 100%;
    max-width: 800px; /* Adjust max-width for better visual */
    height: auto;
    border-radius: 10px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-support__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #017439; /* Brand green for titles on light background */
}

.page-support__dark-bg .page-support__section-title {
    color: #ffffff; /* White for titles on dark background */
}

.page-support__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-support__text-block a {
    color: #FFFF00; /* Yellow for links in text blocks */
    text-decoration: underline;
}

/* Intro Support Section */
.page-support__intro-support {
    padding: 60px 0;
    background-color: #f8f9fa; /* Light background for contrast */
    color: #333333; /* Dark text on light background */
}

/* Channels Section */
.page-support__channels {
    padding: 60px 0;
    background-color: #1a1a1a; /* Darker background for channels */
    color: #ffffff;
}

.page-support__channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support__channel-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-support__channel-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FFFF00; /* Yellow for channel titles */
}

.page-support__channel-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-support__channel-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support__channel-description a {
    color: #FFFF00;
    text-decoration: underline;
}

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 0;
    background-color: #f8f9fa; /* Light background */
    color: #333333; /* Dark text */
}

.page-support__faq-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    margin: 30px auto 40px;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-support__faq-list {
    margin-top: 30px;
}

.page-support__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-support__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439; /* Brand green for questions */
    background-color: #e9f7ef; /* Light green background for summary */
    border-bottom: 1px solid #e0e0e0;
}

.page-support__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-support__faq-question a {
    color: #017439; /* Brand green for links in questions */
    text-decoration: none;
}

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

.page-support__faq-item[open] .page-support__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'minus' icon */
}

.page-support__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #555555;
}

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

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

.page-support__faq-answer a {
    color: #017439; /* Brand green for links in answers */
    text-decoration: underline;
}

/* Resolution Guide Section */
.page-support__resolution-guide {
    padding: 60px 0;
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff;
}

.page-support__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support__guide-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__guide-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #FFFF00; /* Yellow for guide titles */
}

.page-support__guide-list {
    list-style: none;
    padding: 0;
}

.page-support__guide-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.page-support__guide-list li::before {
    content: "•";
    color: #017439; /* Brand green bullet */
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -5px;
}

.page-support__guide-list a {
    color: #FFFF00;
    text-decoration: underline;
}

/* Commitment Section */
.page-support__commitment {
    padding: 60px 0;
    background-color: #f8f9fa; /* Light background */
    color: #333333; /* Dark text */
}

.page-support__commitment-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin: 30px auto 40px;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-support__commitment-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support__commitment-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-support__commitment-item-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439; /* Brand green for commitment titles */
}

/* Final CTA Section */
.page-support__final-cta {
    padding: 60px 0 80px;
    background-color: #017439; /* Brand green background */
    color: #ffffff;
    text-align: center;
}

.page-support__final-cta .page-support__section-title {
    color: #ffffff;
}

.page-support__cta-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 10px;
    margin: 30px auto 40px;
    display: block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-support__cta-buttons--center {
    text-align: center;
}

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-support__btn-primary {
    background-color: #C30808; /* Custom red for primary action (Register/Login) */
    color: #FFFF00; /* Custom yellow for text */
    border: 2px solid #C30808;
}

.page-support__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-support__btn-secondary {
    background-color: #017439; /* Brand green for secondary action */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-support__btn-secondary:hover {
    background-color: #005a2d;
    border-color: #005a2d;
}

.page-support__btn-tertiary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-support__btn-tertiary:hover {
    background-color: #f0f0f0;
    color: #005a2d;
    border-color: #005a2d;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.5em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__channel-title,
    .page-support__guide-title,
    .page-support__commitment-item-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-support__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding: 40px 15px 20px;
    }
    .page-support__hero-title {
        font-size: 2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-support__text-block {
        font-size: 1em;
    }

    .page-support__channel-grid,
    .page-support__guide-steps,
    .page-support__commitment-points {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__channel-card,
    .page-support__guide-card,
    .page-support__commitment-item {
        padding: 20px;
    }

    .page-support__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-support__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__hero-section,
    .page-support__intro-support,
    .page-support__channels,
    .page-support__faq-section,
    .page-support__resolution-guide,
    .page-support__commitment,
    .page-support__final-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile button responsiveness */
    .page-support__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-tertiary {
        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;
    }
}

/* Ensure no filter on images */
.page-support img {
    filter: none;
}

/* Specific dark/light background classes for explicit contrast control */
.page-support__dark-bg {
    background-color: #1a1a1a; /* A slightly lighter dark for contrast */
    color: #ffffff;
}

.page-support__light-bg {
    background-color: #f8f9fa;
    color: #333333;
}

.page-support__dark-bg .page-support__text-block a,
.page-support__dark-bg .page-support__guide-list a {
    color: #FFFF00;
}