.page-support {
    font-family: Arial, sans-serif;
    color: var(--text-main, #1F2D3D);
    background-color: var(--background, #F4F7FB);
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    text-align: center;
    color: #FFFFFF; /* Text on hero image should be white */
    margin-bottom: 40px;
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Fallback if image not loaded */
    overflow: hidden; /* Ensure image doesn't overflow container */
    padding-bottom: 40px; /* Padding below hero content */
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for aesthetic */
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-support__hero-content {
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-support__main-title {
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    /* No fixed font-size, rely on clamp if needed, but for now just weight and line-height */
}

.page-support__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #E0E0E0;
}

.page-support__cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--button, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 200px; /* Ensure buttons are not tiny */
    text-align: center;
}

.page-support__cta-button:hover {
    opacity: 0.9;
}

/* Section Titles */
.page-support__section-title {
    font-size: 2.2em;
    color: var(--text-main, #1F2D3D);
    text-align: center;
    margin-bottom: 15px;
    margin-top: 60px;
    font-weight: bold;
}

.page-support__section-subtitle {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
}

/* FAQ Section */
.page-support__faq-section {
    background-color: var(--card-bg, #FFFFFF);
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-support__faq-item {
    border-bottom: 1px solid var(--border, #D6E2FF);
    padding: 20px 0;
}

.page-support__faq-item:last-child {
    border-bottom: none;
}

.page-support__faq-question {
    font-size: 1.2em;
    color: var(--text-main, #1F2D3D);
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    font-weight: bold;
}

.page-support__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5em;
    line-height: 1;
    color: var(--primary-color, #2F6BFF);
    transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.page-support__faq-answer {
    font-size: 1em;
    color: #555555;
    padding-top: 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-top 0.3s ease-out;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 200px; /* Adjust based on expected content length */
    padding-top: 15px;
}

.page-support__faq-link {
    display: inline-block;
    margin-top: 10px;
    margin-right: 10px;
    color: var(--primary-color, #2F6BFF);
    text-decoration: none;
    font-weight: bold;
}

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

/* Contact Section */
.page-support__contact-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background-color: var(--background, #F4F7FB);
}

.page-support__contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-support__contact-card {
    background-color: var(--card-bg, #FFFFFF);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-support__contact-card:hover {
    transform: translateY(-5px);
}

.page-support__contact-icon {
    width: 100%;
    max-width: 250px; /* Max width for icons */
    height: auto;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    object-fit: cover;
    border-radius: 8px;
}

.page-support__card-title {
    font-size: 1.5em;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__card-description {
    color: #555555;
    margin-bottom: 20px;
}

.page-support__contact-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--button, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 150px; /* Ensure buttons are not tiny */
    text-align: center;
}

.page-support__contact-button:hover {
    opacity: 0.9;
}

/* CTA Section */
.page-support__cta-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
    color: #FFFFFF;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 1200px;
}

.page-support__cta-title {
    font-size: 2.2em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-support__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #E0E0E0;
}

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

.page-support__cta-button--primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Same as general cta */
    color: #FFFFFF;
}

.page-support__cta-button--secondary {
    background: #FFFFFF;
    color: var(--primary-color, #2F6BFF);
    border: 1px solid var(--primary-color, #2F6BFF);
}

.page-support__cta-button--secondary:hover {
    background: #F0F0F0;
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-support__container {
        padding: 15px;
    }

    .page-support__hero-content {
        padding: 0 15px;
    }

    .page-support__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em); /* Use clamp for H1 */
    }

    .page-support__section-title,
    .page-support__cta-title {
        font-size: 1.8em;
    }

    .page-support__contact-methods {
        grid-template-columns: 1fr;
    }

    .page-support__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-support__cta-button,
    .page-support__cta-button--primary,
    .page-support__cta-button--secondary {
        width: 80%; /* Make buttons wider on mobile */
        max-width: 300px;
    }

    /* Mobile overflow prevention for images */
    .page-support__hero-image,
    .page-support__contact-icon {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure all images within .page-support respect max-width on mobile */
@media (max-width: 768px) {
    .page-support img {
        max-width: 100%;
        height: auto;
    }
}