/* style/support.css */

/* Base styles for the support page */
.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

/* Fixed header offset */
.page-support__hero-section {
    padding-top: var(--header-offset, 120px); /* Desktop/Mobile handled by shared.css */
    position: relative;
    overflow: hidden; /* Ensure content doesn't overflow */
}

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

/* Hero Section */
.page-support__hero-section {
    background-color: #1a1a1a; /* Slightly lighter dark background for hero */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 60px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.page-support__hero-content {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    text-align: left;
    z-index: 2;
}

.page-support__hero-title {
    font-size: 3.2em;
    color: #26A9E0; /* Brand color for emphasis */
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-support__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.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;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure buttons are responsive */
}

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

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

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

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

.page-support__hero-image-wrapper {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    padding: 20px;
}

.page-support__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-support__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
}

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

/* Why Choose Us Section */
.page-support__why-choose-us-section {
    background-color: #0d0d0d;
    padding: 80px 0;
}

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

.page-support__feature-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__feature-icon {
    width: 200px; /* Minimum size requirement */
    height: 150px; /* Adjust aspect ratio if needed */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-support__feature-description {
    color: #cccccc;
    font-size: 0.95em;
}

/* Contact Methods Section */
.page-support__contact-methods-section {
    background-color: #0a0a0a;
    padding: 80px 0;
}

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

.page-support__contact-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.page-support__contact-description {
    color: #cccccc;
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

/* Common Issues Section */
.page-support__common-issues-section {
    background-color: #0d0d0d;
    padding: 80px 0;
}

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

.page-support__issue-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-support__issue-list li {
    margin-bottom: 10px;
    color: #cccccc;
}

.page-support__issue-list li a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__issue-list li a:hover {
    color: #26A9E0;
}

.page-support__cta-bottom {
    text-align: center;
    margin-top: 60px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-support__cta-bottom a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-support__cta-bottom a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-support__faq-section {
    background-color: #0a0a0a;
    padding: 80px 0;
}

.page-support__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #1a1a1a;
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for summary */
}

/* Hide default marker for details/summary */
.page-support__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-support__faq-item summary::marker {
    display: none;
}

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

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #ffffff;
}

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

.page-support__faq-item[open] .page-support__faq-answer {
    max-height: 1000px; /* Sufficiently large to show content */
    transition: max-height 0.5s ease-in;
}

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

.page-support__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
}

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


/* Feedback Section */
.page-support__feedback-section {
    background-color: #0d0d0d;
    padding: 80px 0 100px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.8em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__hero-content {
        padding: 30px;
    }
    .page-support__hero-image-wrapper {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-support__hero-content {
        padding: 20px;
    }
    .page-support__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-support__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-support__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-support__section-title {
        font-size: 1.8em;
        padding-top: 40px;
    }
    .page-support__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-support__container,
    .page-support__hero-image-wrapper,
    .page-support__cta-buttons,
    .page-support__features-grid,
    .page-support__contact-grid,
    .page-support__issues-grid,
    .page-support__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }
    
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-support video,
    .page-support__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__video-section,
    .page-support__video-container,
    .page-support__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-support__feature-icon {
        width: 150px;
        height: 100px;
    }

    .page-support__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-support__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__section-title {
        font-size: 1.5em;
    }
    .page-support__feature-title,
    .page-support__contact-title,
    .page-support__issue-title {
        font-size: 1.3em;
    }
}

/* Color Contrast Fixes (if needed) */
/* Assuming body background is dark #0a0a0a, text color is #ffffff by default for main content. */
/* Card backgrounds are #1a1a1a or #0d0d0d, still dark, so white text is good. */
/* Buttons use brand color #26A9E0 with white text #ffffff, which has good contrast. */
/* Links within text use #26A9E0, which on dark backgrounds provides sufficient contrast. */