/* style/support.css */

/* General page styling */
.page-support {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text for dark body background */
    line-height: 1.6;
    background-color: transparent; /* Body background handled by shared.css */
}

/* Header offset */
.page-support__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #ffffff;
}

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

.page-support__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-support__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-support__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for emphasis */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

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

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

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link {
    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;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #0A2463; /* Dark blue text for contrast */
    border: 2px solid #FFD700;
}

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

.page-support__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-support__btn-secondary:hover {
    background-color: #FFD700;
    color: #0A2463;
}

.page-support__btn-link {
    background-color: transparent;
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-support__btn-link:hover {
    background-color: #FFD700;
    color: #0A2463;
}

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

.page-support__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for main titles */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

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

/* Contact Channels */
.page-support__contact-channels {
    padding: 80px 0;
    background-color: #0A2463; /* Dark blue background */
}

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

.page-support__contact-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for card background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-support__contact-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(1.2); /* Slightly brighten icons for visibility, NOT changing color */
}

.page-support__card-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

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

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 0;
    background-color: #1a1a2e; /* Body background color for contrast */
}

.page-support__dark-section .page-support__section-title {
  color: #FFD700;
}

.page-support__dark-section .page-support__section-description {
  color: #f0f0f0;
}

.page-support__faq-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.page-support__faq-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.page-support__faq-list {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-support__faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

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

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2em;
    color: #FFD700;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

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

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Plus to Minus visual */
}

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

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

/* Guides & Resources */
.page-support__guides-resources {
    padding: 80px 0;
    background-color: #0A2463;
}

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

.page-support__guide-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.page-support__guide-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-support__guide-card .page-support__card-title {
    padding: 20px 20px 0;
    font-size: 1.4em;
    color: #FFD700;
    text-align: left;
}

.page-support__guide-card .page-support__card-title a.page-support__card-link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__guide-card .page-support__card-title a.page-support__card-link:hover {
  color: #e6c200;
  text-decoration: underline;
}


.page-support__guide-card .page-support__card-text {
    padding: 0 20px 20px;
    font-size: 0.95em;
    color: #f0f0f0;
    flex-grow: 1;
    text-align: left;
}

.page-support__guide-card .page-support__btn-link {
    margin: 0 20px 20px;
    align-self: flex-start;
    width: fit-content;
}

/* Commitment Section */
.page-support__commitment-section {
    padding: 80px 0;
    background-color: #1a1a2e;
    color: #f0f0f0;
}

.page-support__commitment-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-support__commitment-list li {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-support__list-highlight {
    color: #FFD700;
}

.page-support__commitment-final-text {
    text-align: center;
    font-size: 1.1em;
    margin-top: 40px;
    color: #f0f0f0;
}

/* Call to Action Section */
.page-support__cta-section {
    padding: 80px 0;
    background-color: #0A2463;
    text-align: center;
}

.page-support__cta-section .page-support__section-title {
    color: #FFD700;
}

.page-support__cta-section .page-support__section-description {
    color: #f0f0f0;
}

.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__faq-grid {
        grid-template-columns: 1fr;
    }
    .page-support__faq-image {
        order: -1; /* Image above FAQ list on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header on mobile */
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__section-description {
        font-size: 0.95em;
    }

    .page-support__hero-actions,
    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* General image responsiveness for content area */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Ensure containers also adapt */
    .page-support__container,
    .page-support__contact-card,
    .page-support__guide-card,
    .page-support__faq-list,
    .page-support__commitment-list li {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__contact-grid,
    .page-support__guides-grid {
        gap: 20px;
    }

    /* Specific padding for sections to avoid content touching edges */
    .page-support__contact-channels,
    .page-support__faq-section,
    .page-support__guides-resources,
    .page-support__commitment-section,
    .page-support__cta-section {
        padding: 40px 0;
    }
    .page-support__container {
        padding: 0 15px;
    }
}

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