.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a2e; /* Inherited from shared.css, but setting here for clarity */
}

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

.page-support__section-title {
    font-size: 2.5em;
    color: #FFFFFF; /* White for dark sections */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-support__text-block {
    font-size: 1.1em;
    color: #f0f0f0; /* Light grey for text on dark background */
    margin-bottom: 20px;
    text-align: justify;
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: #017439; /* Brand primary color for hero */
}

.page-support__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 40px;
}

.page-support__hero-title {
    font-size: 3.5em;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 900;
}

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

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

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

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay to ensure text readability */
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* For responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-support__btn-primary {
    background-color: #C30808; /* Register/Login red */
    color: #FFFF00; /* Register/Login yellow font */
    border: 2px solid #C30808;
}

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

.page-support__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-support__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #017439;
}

/* Section specific styles */
.page-support__introduction-section,
.page-support__common-issues-section,
.page-support__tips-section,
.page-support__cta-section {
    padding: 60px 0;
    background-color: #1a1a2e; /* Dark background from body */
    color: #ffffff;
}

.page-support__channels-section,
.page-support__commitment-section,
.page-support__faq-section {
    padding: 60px 0;
    background-color: #017439; /* Brand primary color for contrast sections */
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-support__channels-section .page-support__container,
.page-support__commitment-section .page-support__container {
    position: relative;
    z-index: 2;
}

.page-support__channels-section .page-support__section-title,
.page-support__commitment-section .page-support__section-title,
.page-support__faq-section .page-support__section-title {
    color: #FFFFFF;
}

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

.page-support__channel-card,
.page-support__issue-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark green */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

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

.page-support__card-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

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

.page-support__commitment-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-support__commitment-item {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.page-support__commitment-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #FFFF00; /* Yellow checkmark */
}

.page-support__commitment-item a {
    color: #FFFF00;
    text-decoration: underline;
}

.page-support__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-support__tips-item {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.page-support__tips-item::before {
    content: '💡';
    position: absolute;
    left: 0;
}

.page-support__tips-item a {
    color: #FFFF00;
    text-decoration: underline;
}

/* Image wrappers for sections */
.page-support__image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-support__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
}

/* FAQ Section */
.page-support__faq-list {
    margin-top: 40px;
}

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #017439; /* Brand primary color */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: #005f2e;
}

.page-support__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: 1em; /* Adjust to fit the parent font size */
}

.page-support__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFFF00; /* Yellow toggle icon */
    transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Rotate for minus sign effect */
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    color: #f0f0f0;
}

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

.page-support__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

.page-support__faq-answer a {
    color: #FFFF00;
    text-decoration: underline;
}

/* Call to Action Section */
.page-support__cta-section {
    text-align: center;
    padding: 80px 0;
    background-color: #1a1a2e;
    color: #ffffff;
}

.page-support__cta-content {
    max-width: 900px;
}

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 3em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-support__hero-title {
        font-size: 2.5em;
    }
    .page-support__hero-description {
        font-size: 1.1em;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__text-block,
    .page-support__card-text,
    .page-support__commitment-item,
    .page-support__tips-item,
    .page-support__faq-question,
    .page-support__faq-answer p {
        font-size: 1em;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-support__hero-buttons,
    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Image responsive handling */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__image-wrapper,
    .page-support__channels-section,
    .page-support__commitment-section,
    .page-support__common-issues-section,
    .page-support__introduction-section,
    .page-support__tips-section,
    .page-support__faq-section,
    .page-support__cta-section,
    .page-support__channel-card,
    .page-support__issue-card,
    .page-support__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-support__container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-support__channels-grid,
    .page-support__issues-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    .page-support__faq-question {
        padding: 15px 20px;
    }
    .page-support__faq-answer {
        padding: 0 20px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 2em;
    }
    .page-support__section-title {
        font-size: 1.5em;
    }
    .page-support__card-title {
        font-size: 1.5em;
    }
}