/* style/support.css */

/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is #000000, so text needs to be light */
    background-color: #000000; /* Ensure consistency with body background */
}

.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
    background-color: #26A9E0; /* Main brand color for hero background */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    overflow: hidden; /* Ensure content doesn't spill */
}

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

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

.page-support__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
    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;
    box-sizing: border-box;
}

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

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

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

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

.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; /* Overlay effect */
}

/* General Section Styles */
.page-support__introduction-section,
.page-support__channels-section,
.page-support__common-issues-section,
.page-support__faq-section,
.page-support__security-section,
.page-support__cta-section,
.page-support__video-section {
    padding: 60px 0;
}

.page-support__dark-section {
    background-color: #0d0d0d; /* Slightly lighter than body for contrast, but still dark */
    color: #ffffff;
}

.page-support__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #26A9E0; /* Brand color for main titles */
    font-weight: bold;
}

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

.page-support__sub-subsection-title {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: bold;
}

.page-support__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #f0f0f0; /* Light grey for body text on dark background */
}

.page-support__text-block p {
    margin-bottom: 1em;
}

/* Channels Section */
.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: #1a1a1a; /* Darker card background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: #f0f0f0;
}

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

/* Issues Section */
.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: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    color: #f0f0f0;
}

/* FAQ Section */
.page-support__faq-section {
    background-color: #000000; /* Matches body background */
    color: #ffffff;
}

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

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

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

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

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Plus to X for active state, or just change text */
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #0d0d0d; /* Darker background for answer */
    color: #f0f0f0;
}

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

.page-support__btn-inline {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #EA7C07;
    color: #ffffff;
    border: none;
    text-decoration: none;
}

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

.page-support__faq-image-wrapper {
    margin-top: 50px;
    text-align: center;
}

.page-support__faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

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

.page-support__security-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #f0f0f0;
}

.page-support__security-image-wrapper {
    margin-top: 50px;
    text-align: center;
}

.page-support__security-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* CTA Section */
.page-support__cta-section {
    text-align: center;
    background-color: #000000;
    color: #ffffff;
}

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

.page-support__cta-image-wrapper {
    margin-top: 50px;
    text-align: center;
}

.page-support__cta-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Video Section */
.page-support__video-section {
    background-color: #0d0d0d;
    color: #ffffff;
    text-align: center;
}

.page-support__video-wrapper {
    margin-top: 30px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
}

.page-support__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-support__hero-title {
        font-size: 2.5em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__subsection-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        padding: 60px 0;
    }
    .page-support__hero-title {
        font-size: 2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .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__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__subsection-title {
        font-size: 1.3em;
    }
    .page-support__sub-subsection-title {
        font-size: 1.1em;
    }
    .page-support__text-block,
    .page-support p,
    .page-support li {
        font-size: 1em;
    }

    /* Images responsiveness */
    .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-image-wrapper,
    .page-support__channels-grid,
    .page-support__issues-grid,
    .page-support__security-grid,
    .page-support__faq-list,
    .page-support__faq-item,
    .page-support__faq-image-wrapper,
    .page-support__security-image-wrapper,
    .page-support__cta-image-wrapper {
        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 */
    }

    /* Video responsiveness */
    .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; /* Ensure video section has padding top on mobile */
    }
}

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

/* Color Contrast Enforcement */
/* Default text color is white on dark background, already set in .page-support */
.page-support__card,
.page-support__channel-card,
.page-support__issue-card,
.page-support__security-card {
    /* These cards have a dark background (#1a1a1a or #0d0d0d), so text is #f0f0f0 or #ffffff */
    color: #f0f0f0;
    background-color: #1a1a1a;
}
.page-support__dark-section {
    background-color: #0d0d0d;
    color: #ffffff;
}

/* Buttons already have high contrast */
/* FAQ question has brand color background with white text */
/* Ensure all links are visible */
.page-support a {
    color: #26A9E0; /* Brand color for links */
    text-decoration: underline;
}
.page-support a:hover {
    color: #1e87b7;
}

/* Specific button for FAQ self-help guide */
.page-support__btn-inline {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: none;
    text-decoration: none;
}
.page-support__btn-inline:hover {
    background-color: #d46c06;
}