/* style/support.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Inherit from body or shared.css */
}

/* Section styling */
.page-support__hero-section,
.page-support__why-choose-us,
.page-support__common-issues,
.page-support__security-section,
.page-support__contact-channels,
.page-support__faq-section,
.page-support__cta-section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Prevent content overflow */
    box-sizing: border-box;
}

/* Specific background and text colors based on contrast requirements */
.page-support__dark-bg {
    background-color: var(--neon-dark-bg); /* Use shared dark background */
    color: #ffffff;
}

.page-support__light-bg {
    background-color: #FFFFFF; /* White background */
    color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-support__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    position: relative;
    text-align: center;
    padding-bottom: 80px;
}

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

.page-support__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

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

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

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

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    max-width: 100%; /* For responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

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

.page-support__btn-primary:hover {
    background-color: #1a7fb3;
    border-color: #1a7fb3;
    transform: translateY(-2px);
}

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

.page-support__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
}

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

/* Container for content sections */
.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-support__section-heading {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: inherit; /* Inherit from parent section's color */
}

.page-support__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: inherit; /* Inherit from parent section's color */
}

/* Why Choose Us Section */
.page-support__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-support__feature-item {
    background-color: #f8f8f8; /* Light background for feature item */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    color: #333333; /* Dark text for light background */
}

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

.page-support__feature-text {
    font-size: 1em;
    line-height: 1.7;
}

.page-support__image-full-width {
    width: 100%;
    height: auto;
    max-width: 1000px;
    margin: 40px auto 0;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

/* Common Issues Section */
.page-support__issue-category {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
    color: #ffffff;
}

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

.page-support__category-text {
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-support__issue-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.page-support__issue-list li {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-left: 4px solid #26A9E0;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1.05em;
}

.page-support__issue-list li strong {
    color: #ffffff;
}

/* Security Section */
.page-support__security-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-support__security-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    margin: 0 auto; /* Center image on smaller screens */
}

.page-support__security-text-block {
    flex: 1;
    min-width: 300px;
    color: #333333; /* Dark text for light background */
}

.page-support__security-text-block .page-support__section-heading {
    text-align: left;
    color: #26A9E0;
}

.page-support__security-text-block .page-support__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    color: #333333;
}

.page-support__security-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 30px;
}

.page-support__security-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
    color: #333333;
}

.page-support__security-list li:last-child {
    border-bottom: none;
}

.page-support__security-list strong {
    color: #26A9E0;
}

.page-support__security-text-block .page-support__btn-primary,
.page-support__security-text-block .page-support__btn-secondary {
    margin-right: 15px;
    margin-bottom: 15px; /* For stacking on mobile */
}

/* Contact Channels Section */
.page-support__channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-support__channel-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    color: #ffffff;
}

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

.page-support__channel-text {
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-support__email-link {
    color: #26A9E0;
    text-decoration: underline;
}

.page-support__email-link:hover {
    color: #1a7fb3;
}

.page-support__image-center {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 40px auto 0;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

/* FAQ Section */
.page-support__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-support__faq-item {
    background-color: #f8f8f8; /* Light background for FAQ item */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #333333; /* Dark text for light background */
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

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

.page-support__faq-title {
    font-size: 1.25em;
    color: #26A9E0;
    margin: 0;
}

.page-support__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #f8f8f8;
    color: #333333;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 20px 25px;
}

.page-support__faq-answer p {
    margin-bottom: 15px;
    color: #333333;
    text-align: left;
}

/* CTA Section */
.page-support__cta-section {
    padding-bottom: 80px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.8em;
    }
    .page-support__section-heading {
        font-size: 2em;
    }
    .page-support__security-content {
        flex-direction: column;
        text-align: center;
    }
    .page-support__security-text-block .page-support__section-heading,
    .page-support__security-text-block .page-support__section-description {
        text-align: center;
    }
    .page-support__security-text-block .page-support__btn-primary,
    .page-support__security-text-block .page-support__btn-secondary {
        margin-right: 10px;
    }
    .page-support__security-text-block {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section,
    .page-support__why-choose-us,
    .page-support__common-issues,
    .page-support__security-section,
    .page-support__contact-channels,
    .page-support__faq-section,
    .page-support__cta-section {
        padding: 40px 15px;
    }

    .page-support__hero-title {
        font-size: 2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}