/* style/support.css */

/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--dark-bg1); /* Assuming shared.css defines a dark background for body */
}

/* Ensure main content text is readable on dark body background */
.page-support p, .page-support li, .page-support h1, .page-support h2, .page-support h3, .page-support h4, .page-support h5, .page-support h6 {
    color: #ffffff;
}

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

.page-support__light-bg p, .page-support__light-bg li, .page-support__light-bg h1, .page-support__light-bg h2, .page-support__light-bg h3, .page-support__light-bg h4, .page-support__light-bg h5, .page-support__light-bg h6 {
    color: #333333;
}

.page-support__dark-section {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-support__dark-section p, .page-support__dark-section li, .page-support__dark-section h1, .page-support__dark-section h2, .page-support__dark-section h3, .page-support__dark-section h4, .page-support__dark-section h5, .page-support__dark-section h6 {
    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;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Ensure hero section has a minimum height */
}

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

.page-support__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

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

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

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

.page-support__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87b6;
    border-color: #1e87b6;
}

.page-support__btn-link {
    background: none;
    border: 2px solid transparent;
    color: #26A9E0;
    padding: 10px 0;
}

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

/* Channels Section */
.page-support__channels-section,
.page-support__guide-section,
.page-support__faq-section,
.page-support__commitment-section,
.page-support__cta-section {
    padding: 80px 0;
}

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

.page-support__channel-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 400px; /* Ensure cards have a minimum height for consistent layout */
    color: #333333;
}

.page-support__channel-card .page-support__btn-link {
    margin-top: 20px;
}

.page-support__channel-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-support__channel-description {
    font-size: 1em;
    color: #555555;
    flex-grow: 1;
}

/* Guide Section */
.page-support__guide-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto 0 auto;
    color: #ffffff;
}

.page-support__guide-list li {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    border-left: 5px solid #EA7C07;
}

.page-support__guide-list li strong {
    color: #EA7C07;
}

.page-support__guide-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

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

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

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

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

.page-support__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #EA7C07;
    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, padding 0.3s ease;
    background-color: #fefefe;
    color: #555555;
}

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

.page-support__faq-answer p {
    margin: 0;
    color: #555555;
}

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

.page-support__commitment-item {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #ffffff;
}

.page-support__commitment-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-support__commitment-description {
    font-size: 0.95em;
    color: #f0f0f0;
}

/* CTA Section */
.page-support__cta-section {
    text-align: center;
}

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

/* Image styles */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-support__hero-section {
        padding: 80px 0;
        min-height: 500px;
    }
    .page-support__hero-title {
        font-size: 2.5em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__hero-actions,
    .page-support__guide-cta,
    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-link {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-support__channels-section,
    .page-support__guide-section,
    .page-support__faq-section,
    .page-support__commitment-section,
    .page-support__cta-section {
        padding: 60px 0;
    }
    .page-support__channel-card {
        min-height: auto;
    }
    .page-support__container {
        padding: 0 15px;
    }
    .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__hero-section,
    .page-support__channels-section,
    .page-support__guide-section,
    .page-support__faq-section,
    .page-support__commitment-section,
    .page-support__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
    .page-support__faq-answer {
        padding: 0 15px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px;
    }
}

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

/* Content area images CSS dimensions lower limit */
/* This rule targets all img elements within .page-support and ensures they are not styled to be smaller than 200px */
.page-support img {
    min-width: 200px; /* Enforce minimum width */
    min-height: 200px; /* Enforce minimum height */
    /* Ensure these don't conflict with max-width: 100%; height: auto; for responsiveness */
    width: auto; /* Allow natural width or be overridden by max-width */
    height: auto; /* Allow natural height or be overridden by max-width */
}

/* Override for specific small icons if they were allowed (but they are forbidden) */
/* This block is intentionally left out as small icons are forbidden. */