/* style/support.css */

/* Base Styles */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg-1); /* Assume this is a dark background */
}

/* Sections */
.page-support__hero-section {
    position: relative;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-support__dark-bg {
    background-color: #017439; /* Brand primary dark green */
    color: #ffffff;
}

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

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

.page-support__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 30px;
}

.page-support__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFFF00; /* Register/Login font color for emphasis */
}

.page-support__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-support__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background */
}

.page-support__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: inherit; /* Inherit from parent section */
}

.page-support__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: inherit; /* Inherit from parent section */
}

/* Buttons */
.page-support__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Register/Login red */
    color: #FFFF00; /* Register/Login font yellow */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
}

.page-support__btn-primary:hover {
    background-color: #e02a2a;
    color: #ffffff;
}

.page-support__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #FFFF00; /* Register/Login font yellow */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #FFFF00; /* Border matches text color */
}

.page-support__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
}

.page-support__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

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

.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: #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;
    align-items: center;
    color: #333333; /* Dark text for light background */
}

.page-support__channel-icon {
    min-width: 200px;
    min-height: 150px;
    width: 200px; /* Specific width for these icons */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-support__channel-text {
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Common Issues Section */
.page-support__common-issues-section {
    padding: 80px 0;
}

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

.page-support__issue-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

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

.page-support__issue-text {
    font-size: 0.95em;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-support__issue-link {
    color: #00bfff; /* A distinct color for links */
    text-decoration: none;
    font-weight: bold;
    margin-right: 10px;
}

.page-support__issue-link:hover {
    text-decoration: underline;
}

/* Why Choose Us Section */
.page-support__why-choose-us-section {
    padding: 80px 0;
}

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

.page-support__advantage-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-support__advantage-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #017439;
}

.page-support__advantage-text {
    font-size: 1em;
}

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

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

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

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #ffffff;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    background-color: #017439; /* Brand primary green for question background */
    color: #ffffff;
    transition: background-color 0.3s ease;
}

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

.page-support__faq-title {
    margin: 0;
    color: inherit;
    font-size: 1em; /* Adjust to fit parent font size */
}

.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 25px; /* Initial padding 0 */
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for answer */
    color: #f0f0f0;
}

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

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

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

/* Content area images CSS dimensions lower bound */
/* This rule ensures that any img within .page-support will not display smaller than 200px */
.page-support img:not(.shared-logo):not(.shared-icon) {
    min-width: 200px;
    min- /* Adjust min-height as needed, but at least 200px */
    object-fit: cover; /* or contain, depending on context */
}

/* Ensure no filter on images */
.page-support img {
    filter: none !important;
}

/* Video responsiveness (no videos on this page, but keeping for completeness) */
.page-support video,
.page-support__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.page-support__video-section,
.page-support__video-container,
.page-support__video-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.5em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__hero-description,
    .page-support__section-description {
        font-size: 1em;
    }
    .page-support__channels-grid,
    .page-support__issues-grid,
    .page-support__advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-support__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding is correct */
    }
    .page-support__hero-title {
        font-size: 2em;
    }
    .page-support__hero-description {
        font-size: 0.95em;
    }
    .page-support__hero-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__hero-buttons,
    .page-support__cta-buttons-bottom {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important;
        gap: 15px;
    }
    .page-support__channels-section,
    .page-support__common-issues-section,
    .page-support__why-choose-us-section,
    .page-support__faq-section {
        padding: 50px 0;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-description {
        margin-bottom: 30px;
    }
    .page-support__channels-grid,
    .page-support__issues-grid,
    .page-support__advantages-grid {
        grid-template-columns: 1fr;
    }
    .page-support__channel-card,
    .page-support__issue-card,
    .page-support__advantage-card,
    .page-support__faq-item,
    .page-support__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-support video,
    .page-support__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__video-section,
    .page-support__video-container,
    .page-support__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-support__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-support__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-support__faq-answer {
        padding: 0 20px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px 20px;
    }
}