/* style/support.css */

/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
    padding-top: 0; /* Handled by hero or first section */
}

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

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

.page-support__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Overlay for readability */
    z-index: 1;
}

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

.page-support__hero-section .page-support__container {
    position: relative;
    z-index: 2;
}

.page-support__hero-title {
    font-size: 3.5em;
    color: #FFFF00; /* Register/Login font color */
    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.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Titles */
.page-support__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #FFFF00; /* Register/Login font color */
}

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

/* Cards & Grid Layout */
.page-support__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-support__feature-card,
.page-support__channel-card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

.page-support__card-title {
    font-size: 1.5em;
    color: #017439; /* Brand color */
    margin-bottom: 15px;
}

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

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin: 10px;
    cursor: pointer;
    box-sizing: border-box;
}

.page-support__btn-primary {
    background: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

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

.page-support__btn-secondary {
    background: transparent;
    color: #017439; /* Brand color */
    border: 2px solid #017439;
}

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

/* Issue Categories */
.page-support__issue-category {
    background: rgba(255, 255, 255, 0.05); /* Slightly lighter for contrast */
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-support__category-title {
    font-size: 2em;
    color: #FFFF00; /* Register/Login font color */
    margin-bottom: 15px;
}

.page-support__category-description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-support__issue-list {
    list-style: none;
    padding: 0;
}

.page-support__issue-list li {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid #017439; /* Brand color accent */
    border-radius: 5px;
    font-size: 1em;
    color: #f0f0f0;
}

.page-support__issue-list li strong {
    color: #FFFF00; /* Register/Login font color */
}

.page-support__issue-list li a {
    color: #017439; /* Brand color for links */
    text-decoration: none;
    font-weight: bold;
}

.page-support__issue-list li a:hover {
    text-decoration: underline;
    color: #FFFF00; /* Register/Login font color on hover */
}

/* FAQ Section */
.page-support__faq-list {
    margin-top: 30px;
}

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

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-support__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #FFFF00; /* Register/Login font color */
}

.page-support__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #017439; /* Brand color */
    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;
    color: #f0f0f0;
}

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

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

/* Call to Action Section */
.page-support__cta-section {
    text-align: center;
    padding: 60px 0;
    background: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-support__cta-title {
    font-size: 2.5em;
    color: #FFFF00; /* Register/Login font color */
    margin-bottom: 20px;
}

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

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Image styles */
.page-support__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Background Colors */
.page-support__dark-bg {
    background-color: rgba(0, 0, 0, 0.8); /* Slightly lighter than body for sections */
    color: #ffffff;
    padding: 60px 0;
}

.page-support__light-bg {
    background-color: rgba(255, 255, 255, 0.05); /* Light background for sections, still dark overall */
    color: #f0f0f0;
    padding: 60px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 3em;
    }
    .page-support__section-title,
    .page-support__cta-title {
        font-size: 2em;
    }
    .page-support__category-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-support__container {
        padding: 0 15px;
    }

    /* Fixed header spacing for first section on mobile */
    .page-support__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        min-height: 400px;
    }

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