/* style/support.css */

/* Base Styles */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default page background */
}

/* Header Offset - only if shared doesn't provide for body */
/* Assuming shared.css does NOT apply padding-top to body, so applying here */
.page-support__hero-section {
    padding-top: var(--header-offset, 120px);
}

/* Sections */
.page-support__section {
    padding: 60px 20px;
    text-align: center;
}

.page-support__dark-bg {
    background-color: #26A9E0; /* Main brand color */
    color: #FFFFFF; /* White text for dark background */
}

.page-support__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add some padding for smaller screens */
    box-sizing: border-box;
}

.page-support__main-heading {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF; /* White for hero section */
}

.page-support__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    font-weight: bold;
    color: inherit; /* Inherit color from section (dark or light) */
}

.page-support__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: inherit; /* Inherit color from section */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    overflow: hidden;
    padding-bottom: 60px; /* Add padding below content */
}

.page-support__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    padding: 20px;
}

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

.page-support__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay for text readability */
}

/* CTA Buttons */
.page-support__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    margin-top: 30px;
}

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Crucial for mobile responsiveness */
    max-width: 100%;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-support__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

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

.page-support__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0; /* Main brand color for secondary action */
    border: 2px solid #26A9E0;
}

.page-support__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #1a7fb3;
    border-color: #1a7fb3;
}

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

.page-support__contact-card,
.page-support__issue-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-support__contact-icon {
    width: 100%; /* Ensure image fills card width */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-support__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for card titles */
}

.page-support__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to take available space */
}

/* Commitment Section */
.page-support__commitment-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__commitment-list li {
    font-size: 1.1em;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    color: inherit;
}

.page-support__commitment-list li::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #EA7C07; /* Highlight with login color */
    font-size: 1.2em;
}

.page-support__cta-bottom {
    margin-top: 50px;
}

/* FAQ Section */
.page-support__faq-section {
    padding-bottom: 80px;
}

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

.page-support__faq-item {
    background-color: #FFFFFF;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: #333333;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #F8F8F8;
    border-bottom: 1px solid #eee;
    color: #26A9E0; /* Brand color for questions */
    transition: background-color 0.3s ease;
}

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

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #EA7C07; /* Login color for toggle icon */
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Change + to X-like or - */
}

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

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

.page-support__faq-answer p {
    margin: 0;
    padding-bottom: 10px; /* Add some space if multiple paragraphs */
}

/* Video Section */
.page-support__video-section {
    padding-bottom: 60px;
}

.page-support__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000; /* Fallback background */
    margin: 40px auto 0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-support__video-wrapper .page-support__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-support__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block; /* Ensure it takes full width */
    object-fit: cover; /* Cover the area, useful if video aspect ratio differs */
}

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

@media (max-width: 768px) {
    .page-support__hero-section {
        flex-direction: column;
        text-align: center;
        padding-bottom: 40px;
    }
    .page-support__main-heading {
        font-size: 2.2em;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__hero-description {
        font-size: 1.1em;
    }
    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary {
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-support__section {
        padding: 40px 15px;
    }

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

    .page-support__contact-channels-grid,
    .page-support__issues-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__commitment-list li {
        font-size: 1em;
    }

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

    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px;
    }

    /* Mobile image responsiveness */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important; /* Ensure image takes full width of its container */
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile video responsiveness */
    .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: var(--header-offset, 120px) !important; /* Apply header offset to video section on mobile if it's the first element */
    }

    /* All containers with images/videos should also be responsive */
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__hero-section,
    .page-support__video-section,
    .page-support__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* For sections and containers, add horizontal padding to prevent content from touching edges */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-support__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure content area images are not too small */
.page-support__contact-icon,
.page-support__hero-image {
    min-width: 200px;
    min-height: 200px;
}
.page-support__contact-icon {
    width: 100%; /* Override min-width for scaling */
    height: 200px; /* Maintain aspect ratio or specific height */
}

/* No CSS filters for images */
.page-support img {
    filter: none !important;
}