/* style/support.css */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Default page background */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px);
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff; /* White text for dark background */
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-support__hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-support__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-support__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-support__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* General Section Styles */
.page-support__section-title {
    font-size: 2.2em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

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

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

.page-support__channel-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-support__channel-item:hover {
    transform: translateY(-10px);
}

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

.page-support__channel-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-support__channel-text {
    color: #555555;
    margin-bottom: 20px;
}

.page-support__channel-contact {
    font-weight: bold;
    color: #000000;
    margin-top: 10px;
}

/* Guides Section */
.page-support__guides-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #ffffff;
}

.page-support__guides-section .page-support__section-title {
    color: #ffffff;
}

.page-support__guides-section .page-support__section-description {
    color: #f0f0f0;
}

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

.page-support__guide-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-support__guide-item:hover {
    transform: translateY(-10px);
}

.page-support__guide-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-support__guide-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-support__guide-text {
    color: #f0f0f0;
    flex-grow: 1;
    margin-bottom: 20px;
}

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

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

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

.page-support__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f5f5f5;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: #26A9E0;
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: #e9e9e9;
}

.page-support__faq-title {
    margin: 0;
    color: #26A9E0;
    font-size: 1.1em;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #ffffff;
    color: #333333;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important;
    padding: 20px !important;
}

.page-support__faq-answer p {
    margin: 0;
    padding-top: 10px;
}


/* Commitment Section */
.page-support__commitment-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #ffffff;
}

.page-support__commitment-section .page-support__section-title {
    color: #ffffff;
}

.page-support__commitment-section .page-support__section-description {
    color: #f0f0f0;
}

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

.page-support__commitment-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-support__commitment-item:hover {
    transform: translateY(-10px);
}

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

.page-support__commitment-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-support__commitment-text {
    color: #f0f0f0;
}

/* CTA Section */
.page-support__cta-section {
    position: relative;
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-support__cta-section .page-support__section-title {
    color: #26A9E0;
}

.page-support__cta-section .page-support__section-description {
    color: #555555;
    position: relative;
    z-index: 2;
}

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

/* Copyright Section */
.page-support__copyright-section {
    background-color: #1a1a1a;
    color: #cccccc;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

.page-support__copyright-text strong {
    color: #26A9E0;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-support__btn-primary:hover {
    background-color: #d16d06;
    border-color: #d16d06;
}

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

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

.page-support__hero-section .page-support__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Specific button style for light background sections */
.page-support__channels-section .page-support__btn-primary,
.page-support__faq-section .page-support__btn-primary,
.page-support__cta-section .page-support__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-support__channels-section .page-support__btn-primary:hover,
.page-support__faq-section .page-support__btn-primary:hover,
.page-support__cta-section .page-support__btn-primary:hover {
    background-color: #1e87bb;
    border-color: #1e87bb;
}

.page-support__guide-buttons .page-support__btn-primary,
.page-support__guide-buttons .page-support__btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
}

.page-support__guide-buttons .page-support__btn-primary {
    background-color: #EA7C07; /* Use login color for guide primary actions */
    border-color: #EA7C07;
}

.page-support__guide-buttons .page-support__btn-primary:hover {
    background-color: #d16d06;
    border-color: #d16d06;
}

.page-support__guide-buttons .page-support__btn-secondary {
    background-color: transparent;
}

.page-support__guide-buttons .page-support__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-support__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-support__hero-title {
        font-size: 2em;
    }

    .page-support__hero-description {
        font-size: 1em;
    }

    .page-support__hero-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,
    .page-support__guide-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

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

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

    .page-support__channel-grid,
    .page-support__guide-grid,
    .page-support__commitment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__channel-item,
    .page-support__guide-item,
    .page-support__commitment-item {
        padding: 20px;
    }

    .page-support__channel-icon,
    .page-support__commitment-icon {
        max-width: 100px;
    }

    .page-support__guide-image {
        height: 200px;
    }

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

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

    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px !important;
    }

    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.5em;
    }

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

    .page-support__channel-grid,
    .page-support__commitment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-support__guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}