/* style/support.css */

/* Custom color variables - for easy reference, but direct values used below for strictness */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --color-card-bg: #11271B;
    --color-background: #08160F; /* This is the body background */
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-main); /* Light text on dark body background */
    background-color: var(--color-background); /* Deep Green */
    padding-bottom: 40px; /* Add some padding at the bottom for overall page */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom */
    overflow: hidden; /* Ensure no overflow */
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

.page-support__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-support__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    color: var(--color-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

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

/* General Section Styling */
.page-support__section {
    padding: 40px 0;
    box-sizing: border-box;
}

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

.page-support__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--color-gold); /* Gold color for section titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.3;
}

.page-support__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.4;
}

.page-support__text-block {
    font-size: 1rem;
    color: var(--color-text-main);
    margin-bottom: 20px;
}

.page-support__text-link {
    color: var(--color-secondary);
    text-decoration: underline;
}

.page-support__text-link:hover {
    color: var(--color-glow);
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 10px 5px;
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-support__btn-primary {
    background: var(--color-button-gradient);
    color: #ffffff; /* White text for contrast */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Slight inverse gradient on hover */
}

.page-support__btn-secondary {
    background: var(--color-card-bg); /* Dark green background */
    color: var(--color-secondary); /* Bright green text for contrast */
    border: 2px solid var(--color-secondary);
}

.page-support__btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-card-bg); /* Invert colors on hover */
    border-color: var(--color-secondary);
    transform: translateY(-2px);
}

/* Image with Text Block */
.page-support__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

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

.page-support__image-wrapper {
    flex: 1;
    min-width: 300px; /* Minimum width for image wrapper */
    max-width: 50%; /* Max width for image wrapper */
    box-sizing: border-box;
}

.page-support__text-content {
    flex: 1;
    min-width: 300px; /* Minimum width for text content */
    max-width: 50%; /* Max width for text content */
    box-sizing: border-box;
}

.page-support__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

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

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

.page-support__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--color-text-main);
    background-color: var(--color-card-bg);
    border-bottom: 1px solid transparent; /* No border initially */
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
}

.page-support__faq-item[open] summary {
    background-color: var(--color-deep-green); /* Slightly darker when open */
    border-bottom: 1px solid var(--color-border); /* Border when open */
    color: var(--color-gold); /* Gold text for open question */
}

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

.page-support__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

.page-support__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 25px;
    text-align: center;
    color: var(--color-secondary);
}

.page-support__faq-item[open] .page-support__faq-toggle {
    color: var(--color-gold);
}

.page-support__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

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

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

.page-support__card-title {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__contact-card .page-support__text-block {
    color: var(--color-text-secondary);
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-support__contact-card .page-support__btn-primary,
.page-support__contact-card .page-support__btn-secondary {
    margin-top: auto; /* Push button to bottom */
    width: calc(100% - 10px); /* Adjust for margin */
}

.page-support__contact-image-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* Commitment Section */
.page-support__commitment-section .page-support__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.page-support__commitment-section .page-support__btn-primary {
    display: block;
    margin: 30px auto 0 auto;
    max-width: 350px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-content {
        max-width: 700px;
    }
    .page-support__image-text-block {
        gap: 30px;
    }
    .page-support__image-wrapper,
    .page-support__text-content {
        max-width: 100%; /* Allow full width on smaller screens */
        flex: none; /* Reset flex grow/shrink */
    }
    .page-support__image-text-block--reverse {
        flex-direction: column; /* Stack image and text */
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-support__hero-section {
        padding-bottom: 40px;
    }
    .page-support__main-title {
        font-size: 2.2rem;
    }
    .page-support__hero-description {
        font-size: 1rem;
    }
    .page-support__section-title {
        font-size: 2rem;
    }
    .page-support__sub-title {
        font-size: 1.3rem;
    }
    .page-support__container {
        padding: 0 15px;
    }

    /* Images responsive */
    .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-wrapper,
    .page-support__text-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video responsive (if any, though none in this content) */
    .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;
    }
    .page-support__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Buttons responsive */
    .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;
        margin-left: 0;
        margin-right: 0;
    }
    .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__cta-buttons {
        display: flex;
        flex-direction: column !important; /* Stack buttons vertically */
    }

    /* FAQ */
    .page-support__faq-item summary {
        font-size: 1rem;
        padding: 15px;
    }
    .page-support__faq-answer {
        padding: 0 15px 15px 15px;
    }

    /* Contact Grid */
    .page-support__contact-grid {
        grid-template-columns: 1fr;
    }
}

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

/* Contrast Fixes (if any specific sections need it) */
.page-support__dark-section {
    background: var(--color-deep-green); /* Example usage */
    color: var(--color-text-main);
}