/* style/support.css */
/* Base styles for the support page content */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #ffffff; /* Assuming default body background is white/light */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    max-width: 1200px; /* Limit image width on large screens */
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
}

.page-support__hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-support__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    color: #26A9E0; /* Brand color for main title */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-support__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt to screen width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

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

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

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

.page-support__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1a7bbd;
    border-color: #1a7bbd;
}

.page-support__btn-centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content; /* Center button */
}

/* Sections */
.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add padding for mobile */
    box-sizing: border-box;
    width: 100%; /* Ensure container takes full width on desktop too, up to max-width */
}

.page-support__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-support__light-bg {
    background-color: #f8f8f8; /* Light background for contrast */
    padding: 60px 0;
    color: #333333;
}

.page-support__dark-bg {
    background-color: #26A9E0; /* Brand color as background */
    padding: 60px 0;
    color: #ffffff; /* White text for contrast */
}

.page-support__dark-bg .page-support__section-title,
.page-support__dark-bg .page-support__card-title,
.page-support__dark-bg .page-support__card-text {
    color: #ffffff;
}
.page-support__dark-bg .page-support__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border-color: #ffffff;
}
.page-support__dark-bg .page-support__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1a7bbd;
    border-color: #e0f2f7;
}

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

.page-support__feature-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333;
}

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

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

/* Contact Channels Section */
.page-support__grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-support__channel-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-support__channel-icon {
    width: 80px; /* Enlarge icons for better visual */
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

/* Guides Section */
.page-support__guide-card {
    display: flex;
    flex-wrap: wrap; /* Allow content to wrap on small screens */
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    overflow: hidden;
}

.page-support__guide-card--reverse {
    flex-direction: row-reverse;
}

.page-support__guide-image {
    width: 50%;
    height: auto;
    object-fit: cover;
    padding: 20px;
    box-sizing: border-box;
}

.page-support__guide-content {
    width: 50%;
    padding: 30px;
    box-sizing: border-box;
}

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

.page-support__guide-content .page-support__card-text {
    color: #555555;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-support__faq-list {
    margin-top: 30px;
}

.page-support__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    background-color: #f0f8ff; /* Light background for question */
    color: #26A9E0;
    transition: background-color 0.3s ease;
}

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

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

.page-support__faq-answer {
    padding: 0 25px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #555555;
}

.page-support__faq-item[open] .page-support__faq-answer {
    max-height: 500px; /* Sufficiently large to show content */
    padding-top: 15px;
}

.page-support__faq-item[open] .page-support__faq-question {
    background-color: #e6f3ff;
}

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

/* Contact CTA Section */
.page-support__contact-cta {
    text-align: center;
    padding: 80px 20px;
}

.page-support__contact-cta .page-support__description {
    color: #ffffff;
    font-size: 1.2em;
    margin-bottom: 40px;
}

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

    .page-support__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }

    .page-support__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-support__description {
        font-size: 1em;
    }

    .page-support__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

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

    .page-support__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-support__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 30px;
    }

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

    .page-support__guide-card {
        flex-direction: column;
    }

    .page-support__guide-card--reverse {
        flex-direction: column;
    }

    .page-support__guide-image,
    .page-support__guide-content {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

    /* Image responsive styles */
    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__image-full,
    .page-support__channel-icon,
    .page-support__guide-image {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__hero-image {
        margin-bottom: 20px;
    }

    /* Video responsive styles (if any, though none currently in HTML) */
    .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__video-section {
      padding-top: 10px !important;
    }
    .page-support__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
}

/* Ensure no filter is used on images */
.page-support img {
    filter: none; /* Explicitly ensure no filters */
}