/* style/support.css */

/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text on dark body background */
    background-color: transparent; /* Inherit from body or shared */
    padding-bottom: 60px; /* Space above footer */
}

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

.page-support__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-support__section-intro {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0; /* Slightly off-white for body text */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding: 100px 20px;
    padding-top: calc(var(--header-offset, 120px) + 60px); /* Adjust for header and add some top padding */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 600px;
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

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

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

.page-support__hero-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

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

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

.page-support__btn-primary:hover {
    background-color: #1e87b7; /* Slightly darker on hover */
    border-color: #1e87b7;
}

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

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

/* Why Choose Section */
.page-support__why-choose-section {
    padding: 60px 0;
    background-color: #0d0d1a; /* Slightly lighter dark background */
    color: #ffffff;
}

.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: rgba(255, 255, 255, 0.05); /* Semi-transparent white for cards */
    padding: 30px;
    border-radius: 10px;
    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: 100%; /* Max width for image in card */
    max-width: 250px; /* Recommended size for card images */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-support__feature-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Contact Channels Section */
.page-support__contact-channels-section {
    padding: 60px 0;
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

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

.page-support__channel-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__channel-icon {
    width: 100%;
    max-width: 200px; /* Recommended size for channel icons */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

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

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

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 0;
    background-color: #0d0d1a; /* Slightly lighter dark background */
    color: #ffffff;
}

.page-support__faq-list {
    margin-top: 40px;
}

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    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;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    background-color: #2a2a47; /* Darker background for question */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

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

.page-support__faq-question-text {
    margin: 0;
    color: #26A9E0; /* Brand color for question text */
}

.page-support__faq-toggle {
    font-size: 1.5em;
    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 rotate */
    color: #ffffff;
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #1f1f3a; /* Slightly lighter background for answer */
    color: #f0f0f0;
}

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

.page-support__faq-answer p {
    margin: 0;
    padding-bottom: 10px; /* Add some space between paragraphs if any */
    color: #f0f0f0;
}

/* Technical Support Section */
.page-support__technical-support-section {
    padding: 60px 0;
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

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

.page-support__troubleshooting-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__troubleshooting-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-support__troubleshooting-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Feedback Section */
.page-support__feedback-section {
    padding: 60px 0;
    background-color: #0d0d1a; /* Slightly lighter dark background */
    color: #ffffff;
}

/* Common CTA Buttons for sections */
.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

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

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }

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

    .page-support__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding-bottom: 60px;
        min-height: auto;
    }

    .page-support__hero-title {
        font-size: 2.2em;
    }

    .page-support__hero-description {
        font-size: 1em;
    }

    .page-support__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-support__btn-primary,
    .page-support__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.9em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-support__features-grid,
    .page-support__channels-grid,
    .page-support__troubleshooting-grid {
        grid-template-columns: 1fr;
    }

    .page-support__feature-card,
    .page-support__channel-card,
    .page-support__troubleshooting-item {
        padding: 25px;
    }

    /* Images responsiveness for mobile */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__hero-section,
    .page-support__why-choose-section,
    .page-support__contact-channels-section,
    .page-support__faq-section,
    .page-support__technical-support-section,
    .page-support__feedback-section,
    .page-support__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* FAQ specific mobile adjustments */
    .page-support__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-support__faq-answer {
        padding: 0 20px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px 20px;
    }
    .page-support__faq-question-text {
        padding-right: 10px; /* Space for toggle icon */
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__section-title {
        font-size: 1.6em;
    }
    .page-support__hero-description {
        font-size: 0.9em;
    }
    .page-support__feature-title,
    .page-support__channel-title,
    .page-support__troubleshooting-title {
        font-size: 1.2em;
    }
}