/* style/support.css */

/* Base styles for the support page */
.page-support {
    font-family: 'Arial', sans-serif;
    color: #F2FFF6; /* Text Main */
    background-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;
    padding: 10px 0 60px 0; /* body handles padding-top, only small decorative top padding here */
    background-color: #08160F;
    overflow: hidden;
}

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

.page-support__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Adjust to pull content slightly over the image if desired, but not overlap text */
    position: relative;
    z-index: 1;
    background-color: #11271B; /* Card BG for contrast */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border */
}

.page-support__main-title {
    font-size: clamp(2em, 3.5vw, 3.2em);
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-support__hero-description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-support__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    border: none;
}

.page-support__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-support__btn-secondary {
    background-color: transparent;
    color: #F2FFF6; /* Text Main */
    border: 2px solid #11A84E; /* Main color for border */
}

.page-support__btn-secondary:hover {
    background-color: #11A84E; /* Main color */
    color: #F2FFF6; /* Text Main */
    transform: translateY(-2px);
}

/* General Section Styles */
.page-support__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 25px;
}

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

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

.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: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid #2E7A4E; /* Border */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-support__channel-card:hover {
    transform: translateY(-5px);
}

.page-support__channel-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

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

.page-support__channel-text {
    font-size: 0.95em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.5;
    margin-bottom: 25px;
}

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

.page-support__faq-list {
    margin-top: 40px;
}

.page-support__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    background-color: #11271B;
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: #1E3A2A; /* Divider */
}

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

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

.page-support__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    color: #2AD16F; /* Button green for toggle */
    margin-left: 15px;
}

.page-support__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.6;
    /* For JS-driven accordions */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.page-support__faq-item[open] .page-support__faq-answer {
    max-height: 2000px; /* Sufficiently large to show content */
    transition: max-height 0.5s ease-in;
}

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

.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: 12px;
    padding: 30px;
    border: 1px solid #2E7A4E; /* Border */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-support__guide-card:hover {
    transform: translateY(-5px);
}

.page-support__guide-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-support__guide-title {
    font-size: 1.4em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
}

.page-support__guide-text {
    font-size: 0.95em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-support__guide-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: auto;
    flex-wrap: wrap;
}

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

.page-support__commitment-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto 40px auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-support__commitment-text {
    font-size: 1.05em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 20px auto;
    text-align: justify;
}

/* Final CTA Section */
.page-support__cta-section {
    padding: 80px 0;
    background-color: #11A84E; /* Main color */
    text-align: center;
}

.page-support__cta-section .page-support__section-title,
.page-support__cta-section .page-support__section-description {
    color: #F2FFF6; /* Text Main */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-content {
        margin-top: -80px;
    }
}

@media (max-width: 768px) {
    .page-support__container {
        padding: 0 15px;
    }

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

    .page-support__hero-content {
        margin-top: -60px;
        padding: 30px 15px;
    }

    .page-support__main-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 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
    }

    .page-support__channels-grid,
    .page-support__guides-grid {
        grid-template-columns: 1fr;
    }

    .page-support__channel-card,
    .page-support__guide-card {
        padding: 25px;
    }

    .page-support__channel-icon,
    .page-support__guide-image {
        max-width: 120px;
    }

    .page-support__section-title {
        font-size: 1.8em;
    }

    .page-support__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-support__faq-question {
        font-size: 1em;
        padding: 18px 20px;
    }

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

    /* Mobile specific image adaptation */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-support__hero-image,
    .page-support__channel-icon,
    .page-support__guide-image,
    .page-support__commitment-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Ensure all containers handle overflow for responsiveness */
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__hero-content,
    .page-support__channels-grid,
    .page-support__guides-grid,
    .page-support__faq-list,
    .page-support__cta-buttons,
    .page-support__guide-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-support__hero-section,
    .page-support__channels-section,
    .page-support__faq-section,
    .page-support__guides-section,
    .page-support__commitment-section,
    .page-support__cta-section {
        padding-left: 0;
        padding-right: 0;
    }
}