:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.05);
}

.page-support {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background: var(--dark-bg-1); /* Inherited from shared.css, assuming dark background */
    color: var(--text-light); /* Override for dark body background */
}

.page-support__hero-banner {
    position: relative;
    width: 100%;
    padding-top: 180px; /* Desktop: Adjust for fixed header */
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Dark blue gradient */
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.page-support__hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-support__hero-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-support__hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-support__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-support__cta-button:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-support__introduction-section,
.page-support__faq-section,
.page-support__contact-section,
.page-support__resources-section,
.page-support__policies-section {
    padding: 60px 0;
    background: var(--bg-light); /* Light background for content sections */
    color: var(--text-dark); /* Dark text for light background */
}

.page-support__introduction-section {
    background: #ffffff; /* Pure white background for intro for better contrast with body */
}

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

.page-support__section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.page-support__text-block {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-support__text-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-support__text-block a:hover {
    text-decoration: underline;
}

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

.page-support__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    color: var(--text-dark);
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 2000px !important; /* Sufficiently large */
    padding: 20px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-support__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-support__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

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

.page-support__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-dark);
}

.page-support__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-support__faq-item.active .page-support__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Change + to X visually */
}

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

.page-support__contact-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-light);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

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

.page-support__contact-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-support__contact-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-support__contact-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #555555;
}

.page-support__contact-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
}

.page-support__contact-button:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* Resources Section Styles */
.page-support__resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-support__resource-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-light);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

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

.page-support__resource-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    min-height: 50px;
}

.page-support__resource-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-support__resource-title a:hover {
    text-decoration: underline;
}

.page-support__resource-description {
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 20px;
    min-height: 80px;
}

.page-support__read-more {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-support__read-more:hover {
    color: #218838;
    text-decoration: underline;
}

/* Policies Section Styles */
.page-support__policy-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-support__policy-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 15px 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-support__policy-item:hover {
    background: #f5f5f5;
    border-color: #c0c0c0;
}

.page-support__policy-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: block;
}

.page-support__policy-item a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 36px;
    }

    .page-support__hero-description {
        font-size: 16px;
    }

    .page-support__section-title {
        font-size: 28px;
    }

    .page-support__contact-methods,
    .page-support__resource-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-support__hero-banner {
        padding-top: 160px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 60px;
    }

    .page-support__hero-title {
        font-size: 30px;
    }

    .page-support__hero-description {
        font-size: 15px;
    }

    .page-support__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .page-support__introduction-section,
    .page-support__faq-section,
    .page-support__contact-section,
    .page-support__resources-section,
    .page-support__policies-section {
        padding: 40px 0;
    }

    .page-support__container {
        padding: 0 15px;
    }

    .page-support__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .page-support__text-block {
        font-size: 15px;
    }

    .page-support__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-support__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .page-support__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }

    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px !important;
    }

    .page-support__contact-methods,
    .page-support__resource-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__contact-card,
    .page-support__resource-card {
        padding: 20px;
    }

    .page-support__contact-icon {
        width: 60px;
        height: 60px;
    }

    .page-support__contact-title {
        font-size: 20px;
    }

    .page-support__resource-title {
        font-size: 18px;
        min-height: auto;
    }

    .page-support__resource-description {
        min-height: auto;
    }

    .page-support__policy-item {
        padding: 12px 15px;
    }

    .page-support__policy-item a {
        font-size: 15px;
    }

    /* Ensure all images are responsive */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-support__hero-banner,
    .page-support__introduction-section,
    .page-support__faq-section,
    .page-support__contact-section,
    .page-support__resources-section,
    .page-support__policies-section,
    .page-support__container,
    .page-support__contact-card,
    .page-support__resource-card,
    .page-support__policy-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 26px;
    }

    .page-support__hero-description {
        font-size: 14px;
    }

    .page-support__cta-button {
        padding: 10px 25px;
        font-size: 15px;
    }

    .page-support__section-title {
        font-size: 22px;
    }

    .page-support__faq-question h3 {
        font-size: 15px;
    }
}