/* style/support.css */

/* General Styles for .page-support */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Ensures consistency, though body background is handled by shared.css */
}

/* Section Spacing */
.page-support__section {
    padding: 60px 0;
    text-align: center;
}

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

.page-support__section-title {
    font-size: 3em;
    color: #26A9E0; /* Brand color for titles */
    margin-bottom: 30px;
    font-weight: bold;
}

.page-support__section-title--light {
    color: #ffffff;
}

.page-support__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__text-block--light {
    color: #f0f0f0; /* Lighter text for dark backgrounds */
}

/* Buttons */
.page-support__cta-button {
    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;
    margin: 10px;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

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

/* Image responsiveness */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden;
}

.page-support__hero-image {
    width: 100%;
    object-fit: cover;
    display: block;
}

.page-support__hero-content {
    padding: 40px 15px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,1) 100%);
}

.page-support__hero-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Using clamp for H1 */
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

/* Overview Section */
.page-support__overview-section {
    background-color: #f9f9f9;
}

/* Channels Section */
.page-support__channels-section {
    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: #f0f8ff; /* Light blue background for cards */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-support__channel-icon {
    width: 100%; /* Occupy main visual area */
    height: auto;
    max-height: 200px; /* Constrain height */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
}

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

.page-support__channel-description {
    font-size: 1em;
    color: #555555;
    flex-grow: 1; /* Allows description to take available space */
    margin-bottom: 20px;
}

/* Guide Section (Dark background) */
.page-support__guide-section {
    background-color: #26A9E0; /* Primary brand color as background */
    color: #ffffff;
}

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

.page-support__guide-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for items */
    padding: 25px;
    border-radius: 10px;
    text-align: left;
}

.page-support__guide-subtitle {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 15px;
}

/* Issues Section */
.page-support__issues-section {
    background-color: #f9f9f9;
}

.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: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

/* Commitment Section (Dark background) */
.page-support__commitment-section {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Contact CTA Section */
.page-support__contact-cta-section {
    background-color: #ffffff;
}

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


/* --- Mobile Responsiveness (max-width: 1024px for tablets) --- */
@media (max-width: 1024px) {
    .page-support__section-title {
        font-size: 2.5em;
    }
    .page-support__hero-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-support__channels-grid,
    .page-support__guide-content,
    .page-support__issues-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

/* --- Mobile Responsiveness (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-support__section {
        padding: 40px 0;
    }

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

    .page-support__section-title {
        font-size: 2.2em;
        margin-bottom: 20px;
    }

    .page-support__text-block {
        font-size: 1em;
    }

    /* Hero Section */
    .page-support__hero-section {
        padding-top: 10px !important; /* Fixed top padding, not header-offset */
    }

    .page-support__hero-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust clamp for mobile H1 */
        margin-bottom: 15px;
    }

    .page-support__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* Channels Grid */
    .page-support__channels-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    .page-support__channel-card {
        padding: 20px;
    }

    .page-support__channel-icon {
        max-height: 150px; /* Smaller max height for mobile icons */
    }

    .page-support__channel-title {
        font-size: 1.5em;
    }

    /* Guide Section */
    .page-support__guide-content {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    .page-support__guide-item {
        padding: 20px;
    }

    .page-support__guide-subtitle {
        font-size: 1.3em;
    }

    /* Issues Grid */
    .page-support__issues-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    .page-support__issue-card {
        padding: 20px;
    }

    .page-support__issue-title {
        font-size: 1.5em;
    }

    /* Buttons */
    .page-support__cta-button,
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support a[class*="button"],
    .page-support a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important; /* Ensure button text has padding */
        padding-right: 15px !important;
    }

    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px !important;
    }

    /* All images must be responsive */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}