/* style/support.css */

/* Base styles */
.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF;
}

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

.page-support__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-support__btn-primary {
    display: inline-block;
    background-color: #26A9E0;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
    box-sizing: border-box;
}

.page-support__btn-primary:hover {
    background-color: #1a7fb0;
}

.page-support__btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: #26A9E0;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid #26A9E0;
    box-sizing: border-box;
}

.page-support__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-support__btn-link {
    display: inline-block;
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.page-support__btn-link:hover {
    color: #1a7fb0;
    text-decoration: underline;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-support__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-support__hero-section .page-support__container {
    position: relative;
    z-index: 3;
    color: #ffffff;
}

.page-support__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-support__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

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

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

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

.page-support__channel-icon {
    width: 100%; /* Ensure image fills card width */
    max-width: 250px; /* Limit max width of icon */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-support__channel-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

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

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

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

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

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

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Plus sign becomes an 'x' or rotate to indicate open */
}

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

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

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

.page-support__faq-link {
    display: inline-block;
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.page-support__faq-link:hover {
    color: #1a7fb0;
    text-decoration: underline;
}

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

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

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

.page-support__commitment-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__commitment-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.page-support__commitment-icon {
    width: 100%; /* Ensure image fills card width */
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-support__commitment-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-support__tips-list {
    max-width: 900px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.page-support__tip-item {
    background-color: #ffffff;
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    font-size: 1.1em;
    color: #333333;
}

.page-support__tip-item strong {
    color: #26A9E0;
}

/* CTA Section */
.page-support__cta-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

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

.page-support__cta-section .page-support__container {
    position: relative;
    z-index: 3;
    color: #ffffff;
}

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

.page-support__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

/* Common dark/light background handling for contrast */
.page-support__dark-bg {
    color: #ffffff;
    background-color: #26A9E0;
}

.page-support__light-bg {
    color: #333333;
    background-color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 3em;
    }
    .page-support__hero-description {
        font-size: 1.15em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-support__hero-section {
        padding: 80px 0 60px;
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__btn-primary, .page-support__btn-secondary {
        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__channels-section, .page-support__faq-section, .page-support__commitment-section, .page-support__tips-section, .page-support__cta-section {
        padding: 50px 0;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-support__channel-card, .page-support__commitment-card {
        padding: 20px;
    }
    .page-support__channel-title, .page-support__commitment-title {
        font-size: 1.5em;
    }
    .page-support__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-support__faq-answer {
        padding: 0 20px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px 20px;
    }
    .page-support__cta-title {
        font-size: 1.8em;
    }
    .page-support__cta-description {
        font-size: 1em;
    }
    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Image responsiveness for mobile */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__container,
    .page-support__hero-section,
    .page-support__channels-section,
    .page-support__faq-section,
    .page-support__commitment-section,
    .page-support__tips-section,
    .page-support__cta-section,
    .page-support__hero-cta,
    .page-support__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    .page-support__hero-overlay {
        background: rgba(0, 0, 0, 0.7) !important;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__section-title {
        font-size: 1.5em;
    }
    .page-support__cta-title {
        font-size: 1.6em;
    }
}

/* Ensure content area images maintain minimum size if not responsive */
.page-support__channel-icon, .page-support__commitment-icon {
    min-width: 200px;
    min-height: 200px;
}