/* 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: transparent; /* Body background is handled by shared.css */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

.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-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    overflow: hidden;
    min-height: 600px;
    text-align: center;
}

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

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken background image for text contrast */
}

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

.page-support__hero-title {
    font-size: 3.5em;
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

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

/* 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;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box; /* Include padding in width */
}

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

.page-support__btn-primary:hover {
    background-color: #1a7bb5;
    border-color: #1a7bb5;
    transform: translateY(-2px);
}

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

.page-support__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Why Us Section */
.page-support__why-us-section {
    padding: 80px 0;
    text-align: center;
}

.page-support__dark-section {
    background-color: #1a1a1a; /* Darker background for contrast with body */
    color: #ffffff;
}

.page-support__why-us-section .page-support__section-title {
    color: #FFFFFF; /* White title on dark background */
}

.page-support__why-us-section .page-support__section-description {
    color: #e0e0e0;
}

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

.page-support__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #f0f0f0;
}

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

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

.page-support__feature-text {
    font-size: 1em;
    color: #cccccc;
}

.page-support__why-us-image {
    margin-top: 60px;
    border-radius: 12px;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 0;
    background-color: #121212; /* Match body background for continuity */
    color: #ffffff;
}

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

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Lighter on dark background */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-support__faq-title {
    font-size: 1.2em;
    color: #26A9E0;
    margin: 0;
    font-weight: bold;
}

.page-support__faq-toggle {
    font-size: 1.8em;
    color: #FFFFFF;
    font-weight: bold;
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg);
}

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

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

.page-support__faq-answer p {
    margin: 0;
    font-size: 1em;
    color: #cccccc;
}

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

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

.page-support__faq-image-wrapper {
    margin-top: 60px;
    text-align: center;
}

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

/* Contact Channels Section */
.page-support__contact-channels-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-support__channel-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-support__channel-text {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* Resources Section */
.page-support__resources-section {
    padding: 80px 0;
    background-color: #121212;
    color: #ffffff;
}

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

.page-support__resource-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

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

.page-support__resource-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-support__resource-content {
    padding: 20px;
}

.page-support__resource-card .page-support__resource-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #26A9E0;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-support__resource-card .page-support__resource-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-support__resource-card .page-support__resource-title a:hover {
    text-decoration: underline;
}

.page-support__resource-text {
    font-size: 0.95em;
    color: #cccccc;
    margin-bottom: 0;
}

.page-support__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

/* CTA Section */
.page-support__cta-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.page-support__cta-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.3); /* Darken background image */
}

.page-support__cta-content {
    position: relative;
    z-index: 1;
    color: #FFFFFF;
}

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

.page-support__cta-section .page-support__section-description {
    color: #e0e0e0;
    margin-bottom: 50px;
}

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

/* 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__hero-section {
        padding: 60px 0;
        min-height: 450px;
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__hero-buttons,
    .page-support__button-group,
    .page-support__cta-buttons {
        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: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-support__container,
    .page-support__hero-content,
    .page-support__cta-content {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-description {
        font-size: 0.95em;
    }
    .page-support__features-grid,
    .page-support__channels-grid,
    .page-support__resources-grid {
        grid-template-columns: 1fr;
    }
    .page-support__faq-question {
        padding: 15px 20px;
    }
    .page-support__faq-title {
        font-size: 1.1em;
    }
    .page-support__faq-answer {
        padding: 15px 20px;
    }
    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* 🚨 IMPORTANT: Video and image containers must also be responsive */
    .page-support__video-section, /* If a video section were present */
    .page-support__hero-image-wrapper,
    .page-support__why-us-image,
    .page-support__faq-image-wrapper,
    .page-support__resource-card,
    .page-support__cta-background-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure no overflow */
    }
    .page-support__video-section { /* Example for video, though not in this page */
        padding-top: var(--header-offset, 120px) !important; 
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__section-title {
        font-size: 1.5em;
    }
    .page-support__faq-title {
        font-size: 1em;
    }
}