: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 content, ensuring contrast with body background */
.page-support {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--background-color); /* Page specific background */
    line-height: 1.6;
    font-size: 16px;
}

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

.page-support a:hover {
    text-decoration: underline;
    color: var(--glow-color);
}

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

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

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-support__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    color: var(--text-main);
}

.page-support__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--gold-color);
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-support__hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 30px;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-support__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
    text-decoration: none;
}

.page-support__cta-button--small {
    padding: 8px 20px;
    font-size: 0.9em;
    border-radius: 5px;
}

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

.page-support__section-title {
    font-size: 2.2em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--divider-color);
}

.page-support__sub-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-support__text-block {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-support__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-support__image-text-block--reversed {
    flex-direction: row-reverse;
}

.page-support__content-image {
    width: 50%;
    min-width: 200px; /* Ensure minimum size */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-support__text-content {
    flex: 1;
}

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

.page-support__card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-support__card-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-support__card-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support__card-link {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    align-self: flex-start;
}

.page-support__card-link:hover {
    text-decoration: underline;
    color: var(--glow-color);
}

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

.page-support__method-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-support__method-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-support__method-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.page-support__faq-list {
    margin-top: 40px;
    border-top: 1px solid var(--divider-color);
}

.page-support__faq-item {
    background: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-main);
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider-color);
}

.page-support__faq-item[open] .page-support__faq-question {
    border-bottom: 1px solid var(--divider-color);
}

.page-support__faq-qtext {
    flex-grow: 1;
    color: var(--text-main);
}

.page-support__faq-toggle {
    font-size: 1.5em;
    margin-left: 20px;
    color: var(--gold-color);
    transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
    transform: rotate(45deg);
}

.page-support__faq-answer {
    padding: 20px 25px;
    color: var(--text-secondary);
    background-color: rgba(17, 40, 27, 0.7); /* Slightly lighter card bg for answer */
    border-top: none;
}

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

/* Remove default details marker */
.page-support__faq-item summary {
    list-style: none;
}
.page-support__faq-item summary::-webkit-details-marker {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-support__image-text-block {
        flex-direction: column;
        text-align: center;
    }

    .page-support__image-text-block--reversed {
        flex-direction: column; /* Keep column for reversed on mobile */
    }

    .page-support__content-image {
        width: 80%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-support__container {
        padding: 20px 15px;
    }

    .page-support__hero-section {
        padding-bottom: 40px;
    }

    .page-support__hero-content {
        padding: 15px;
    }

    .page-support__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-support__hero-description {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }

    .page-support__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-support__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-support__image-text-block {
        gap: 20px;
        margin-bottom: 40px;
    }

    .page-support__content-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-bottom: 20px;
    }

    .page-support__policy-cards,
    .page-support__contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Mobile specific image, video, button responsive rules */
    .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__image-text-block,
    .page-support__policy-cards,
    .page-support__contact-methods,
    .page-support__faq-list {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important; /* Ensure no horizontal scroll */
    }

    .page-support__cta-button,
    .page-support__cta-button--small,
    .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;
      margin-left: auto;
      margin-right: auto;
    }

    /* Video specific (if any) */
    .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__video-section {
      padding-top: 10px !important; /* body already handles --header-offset */
    }
}