/* style/support.css */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark #121212, so text should be light */
    background-color: #121212; /* Ensure consistency, though shared.css sets body bg */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-support__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-support__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-support__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.8;
}

.page-support__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-support__btn-primary:hover {
    background-color: #005a2e; /* Darker green on hover */
    border-color: #005a2e;
}

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

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

/* General Section Styling */
.page-support__section {
    padding: 60px 20px;
    text-align: center;
}

.page-support__dark-section {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #ffffff;
}

.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add padding for mobile content safety */
    box-sizing: border-box;
}

.page-support__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #017439; /* Brand color for titles */
}
.page-support__dark-section .page-support__section-title {
    color: #ffffff; /* White for titles on dark sections */
}

.page-support__section-intro {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

/* Grid Layouts */
.page-support__grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

/* Card Styling */
.page-support__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

.page-support__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439; /* Brand color for card titles */
}
.page-support__dark-section .page-support__card-title {
    color: #ffffff; /* White for card titles on dark sections */
}

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

.page-support__card-link {
    display: inline-block;
    color: #FFFF00; /* Yellow for links */
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.page-support__card-link:hover {
    color: #e6e600;
}

/* Content Box Styling */
.page-support__content-box {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-support__content-box-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #017439;
}

.page-support__content-box-text {
    font-size: 1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-support__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Video Section */
.page-support__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-support__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    cursor: pointer;
}

.page-support__video-caption {
    margin-top: 15px;
    font-style: italic;
    color: #cccccc;
}

/* FAQ Section */
.page-support__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter card background */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

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

.page-support__faq-title {
    font-size: 1.3em;
    margin: 0;
    color: #ffffff;
}

.page-support__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #017439; /* Brand green for toggle */
    transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
    color: #ffffff;
}
.page-support__faq-item.active .page-support__faq-question {
    background-color: #017439; /* Brand green when active */
}
.page-support__faq-item.active .page-support__faq-title {
    color: #ffffff;
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

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

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

.page-support__faq-link {
    color: #FFFF00; /* Yellow for links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-support__faq-link:hover {
    color: #e6e600;
}

/* Commitment Section */
.page-support__commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.page-support__commitment-icon {
    width: 200px; /* Enforce minimum display size for content images */
    height: auto;
    margin: 0 auto 20px auto;
    object-fit: contain;
    min-width: 200px;
    min-height: 200px;
    display: block;
}

.page-support__commitment-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #017439;
}
.page-support__dark-section .page-support__commitment-title {
    color: #ffffff;
}

.page-support__commitment-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Tips Section */
.page-support__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-support__tips-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-support__tips-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #017439;
}
.page-support__dark-section .page-support__tips-title {
    color: #ffffff;
}

.page-support__tips-text {
    font-size: 1em;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-support__tips-link {
    color: #FFFF00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-support__tips-link:hover {
    color: #e6e600;
}

/* Contact CTA Section */
.page-support__contact-cta {
    background-color: #017439; /* Brand primary green background */
    color: #ffffff;
    padding: 80px 20px;
}

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

.page-support__contact-cta .page-support__section-intro {
    color: #f0f0f0;
    margin-bottom: 40px;
}

.page-support__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
    border-radius: 10px;
    background-color: #C30808; /* Login/Register red */
    border-color: #C30808;
}

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

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

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-support__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support a[class*="button"],
    .page-support 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-support__cta-buttons,
    .page-support__button-group,
    .page-support__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;
    }

    .page-support__section {
        padding: 40px 15px;
    }
    .page-support__container {
        padding: 0 10px;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-intro {
        font-size: 0.95em;
    }
    .page-support__grid-3-cols,
    .page-support__grid-2-cols,
    .page-support__commitment-grid {
        grid-template-columns: 1fr;
    }
    .page-support__card,
    .page-support__content-box,
    .page-support__commitment-item,
    .page-support__tips-item {
        padding: 20px;
    }
    .page-support__card-title,
    .page-support__content-box-title,
    .page-support__commitment-title,
    .page-support__tips-title {
        font-size: 1.3em;
    }

    /* Mobile image and video responsiveness */
    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__content-box,
    .page-support__commitment-item,
    .page-support__tips-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }
    .page-support__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-support video,
    .page-support__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__video-section,
    .page-support__video-container,
    .page-support__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-support__faq-question {
        padding: 15px 20px;
    }
    .page-support__faq-title {
        font-size: 1.1em;
    }
    .page-support__faq-answer {
        padding: 0 20px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-large {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-support__commitment-icon {
        width: 200px; /* Enforce minimum display size for content images */
        min-width: 200px;
        min-height: 200px;
        height: auto;
    }
}