/* style/support.css */

/* --- Base Styles --- */
.page-support {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-support a {
    color: #A7D9B8; /* Text Secondary for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support a:hover {
    color: #57E38D; /* Glow */
}

.page-support__section-title {
    font-size: clamp(2rem, 5vw, 3rem); /* Responsive font size for H2 */
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-support__section-description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-support__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6; /* Text Main */
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-support__cta-button--secondary {
    background: transparent;
    border: 2px solid #2AD16F; /* Button gradient start color */
    color: #2AD16F;
}

.page-support__cta-button--secondary:hover {
    background: #2AD16F;
    color: #08160F; /* Background */
}

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

/* --- Hero Section --- */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header-offset */
    overflow: hidden;
    background-color: #08160F;
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-bottom: 40px;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.page-support__hero-content {
    max-width: 900px;
    margin-top: 20px;
    position: relative;
    z-index: 1; /* Ensure content is above any potential overlay */
}

.page-support__main-title {
    font-size: clamp(2.5rem, 6vw, 4rem); /* Responsive H1 size */
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-support__lead-text {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Channels Section --- */
.page-support__channels-section {
    padding: 80px 0;
    background-color: #08160F; /* Background */
}

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

.page-support__channel-card {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
}

.page-support__channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-support__channel-icon {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin: 0 auto 20px auto;
    display: block;
    border-radius: 8px;
}

.page-support__channel-title {
    font-size: 1.6rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
}

.page-support__channel-text {
    color: #A7D9B8; /* Text Secondary */
    font-size: 1rem;
    margin-bottom: 25px;
}

.page-support__channel-link {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.page-support__channel-link:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* --- FAQ Section --- */
.page-support__faq-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
}

.page-support__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-support__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-support__faq-item[open] {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #F2FFF6; /* Text Main */
    font-weight: bold;
    background-color: #1E3A2A; /* Divider for summary background */
    border-bottom: 1px solid transparent; /* Remove default border */
    list-style: none; /* For details/summary */
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Safari */
    -khtml-user-select: none;    /* Konqueror HTML */
    -moz-user-select: none;      /* Old versions of Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-support__faq-item[open] .page-support__faq-question {
    border-bottom: 1px solid #2E7A4E; /* Border */
}

.page-support__faq-question::-webkit-details-marker {
    display: none;
}

.page-support__faq-qtext {
    flex-grow: 1;
}

.page-support__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #57E38D; /* Glow */
}

.page-support__faq-item[open] .page-support__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

.page-support__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    background-color: #11271B; /* Card BG */
}

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

/* --- Guides Section --- */
.page-support__guides-section {
    padding: 80px 0;
    background-color: #08160F; /* Background */
}

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

.page-support__guide-card {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
}

.page-support__guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-support__guide-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-support__guide-title {
    font-size: 1.4rem;
    color: #F2FFF6; /* Text Main */
    margin: 20px 20px 10px 20px;
    line-height: 1.3;
}

.page-support__guide-title a {
    color: inherit;
    text-decoration: none;
}
.page-support__guide-title a:hover {
    color: #57E38D; /* Glow */
}

.page-support__guide-text {
    color: #A7D9B8; /* Text Secondary */
    font-size: 0.95rem;
    padding: 0 20px 15px 20px;
}

.page-support__read-more {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 20px 20px 20px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.page-support__read-more:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* --- Policies Section --- */
.page-support__policies-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
}

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

.page-support__policy-item {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
}

.page-support__policy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-support__policy-title {
    font-size: 1.5rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-support__policy-title a {
    color: inherit;
    text-decoration: none;
}
.page-support__policy-title a:hover {
    color: #57E38D; /* Glow */
}

.page-support__policy-text {
    color: #A7D9B8; /* Text Secondary */
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* --- Contact Section --- */
.page-support__contact-section {
    padding: 80px 0 100px 0;
    background-color: #08160F; /* Background */
}

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

.page-support__contact-detail {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border */
}

.page-support__contact-heading {
    font-size: 1.4rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    border-bottom: 2px solid #2E7A4E; /* Border */
    padding-bottom: 10px;
}

.page-support__contact-text {
    color: #A7D9B8; /* Text Secondary */
    font-size: 1rem;
    margin-bottom: 10px;
}
.page-support__contact-text:last-of-type {
    margin-bottom: 0;
}

.page-support__social-links {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-support__social-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: #2E7A4E; /* Border color as social link background */
    color: #F2FFF6;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.page-support__social-link:hover {
    background-color: #57E38D; /* Glow */
    color: #08160F;
}

.page-support__cta-bottom {
    text-align: center;
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-support__section-title {
        font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    }
    .page-support__main-title {
        font-size: clamp(2rem, 5.5vw, 3.5rem);
    }
    .page-support__lead-text {
        font-size: clamp(1rem, 1.8vw, 1.2rem);
    }
    .page-support__channels-grid,
    .page-support__guides-grid,
    .page-support__policy-list,
    .page-support__contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-support__hero-section,
    .page-support__channels-section,
    .page-support__faq-section,
    .page-support__guides-section,
    .page-support__policies-section,
    .page-support__contact-section {
        padding: 40px 0;
    }

    .page-support__hero-content {
        margin-top: 0;
    }

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

    .page-support__lead-text {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        margin-bottom: 30px;
    }

    .page-support__section-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page-support__cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .page-support__channels-grid,
    .page-support__guides-grid,
    .page-support__policy-list,
    .page-support__contact-info-grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        gap: 20px;
    }

    .page-support__channel-title,
    .page-support__guide-title,
    .page-support__policy-title,
    .page-support__contact-heading {
        font-size: 1.3rem;
    }

    .page-support__channel-text,
    .page-support__guide-text,
    .page-support__policy-text,
    .page-support__contact-text {
        font-size: 0.9rem;
    }

    .page-support__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-support__faq-answer {
        padding: 15px 20px;
    }

    /* Force responsive for images, videos, and buttons */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-support video,
    .page-support__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-support__hero-section,
    .page-support__channels-section,
    .page-support__faq-section,
    .page-support__guides-section,
    .page-support__policies-section,
    .page-support__contact-section,
    .page-support__container,
    .page-support__channels-grid,
    .page-support__channel-card,
    .page-support__faq-list,
    .page-support__faq-item,
    .page-support__guides-grid,
    .page-support__guide-card,
    .page-support__policy-list,
    .page-support__policy-item,
    .page-support__contact-info-grid,
    .page-support__contact-detail,
    .page-support__video-section,
    .page-support__video-container,
    .page-support__video-wrapper,
    .page-support__cta-button,
    .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;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important; /* Ensure no horizontal scroll */
    }

    .page-support__cta-button,
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support a[class*="button"],
    .page-support a[class*="btn"] {
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-support__cta-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-support__hero-section {
        padding: 30px 10px;
        padding-top: 10px;
    }
    .page-support__main-title {
        font-size: clamp(1.5rem, 9vw, 2.2rem);
    }
    .page-support__lead-text {
        font-size: clamp(0.85rem, 4vw, 1rem);
    }
    .page-support__cta-button {
        width: 100%;
        max-width: 100%;
    }
    .page-support__section-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .page-support__section-description {
        font-size: 0.9rem;
    }
    .page-support__channel-card,
    .page-support__guide-card,
    .page-support__policy-item,
    .page-support__contact-detail {
        padding: 20px;
    }
    .page-support__faq-question {
        font-size: 0.95rem;
    }
    .page-support__faq-answer {
        font-size: 0.85rem;
    }
    .page-support__social-links {
        flex-direction: column;
        align-items: flex-start;
    }
    .page-support__social-link {
        width: 100%;
        text-align: center;
    }
}

/* Color contrast enforcement */
.page-support p,
.page-support li,
.page-support__channel-text,
.page-support__guide-text,
.page-support__policy-text,
.page-support__contact-text {
    color: #A7D9B8; /* Secondary text color on dark background */
}

.page-support__hero-content .page-support__cta-button {
    color: #F2FFF6; /* Ensure button text is light on gradient */
}

.page-support__hero-content .page-support__cta-button--secondary {
    color: #2AD16F; /* Ensure secondary button text is green */
}
.page-support__hero-content .page-support__cta-button--secondary:hover {
    color: #08160F; /* Ensure secondary button text is dark on hover */
}

/* Specific text elements for main titles/headings */
.page-support__main-title,
.page-support__section-title,
.page-support__channel-title,
.page-support__guide-title,
.page-support__policy-title,
.page-support__contact-heading,
.page-support__faq-qtext {
    color: #F2FFF6; /* Main text color on dark background */
}

/* Ensure images do not have filters */
.page-support img {
    filter: none;
}