/* style/support.css */

/* Base styles for the page content */
.page-support {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Explicitly set for clarity */
    line-height: 1.6;
}

/* Header offset for fixed header */
.page-support__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset to the first visible section */
}

/* Container for consistent content width */
.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

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

/* Section Descriptions */
.page-support__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555555;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    min-height: 600px; /* Minimum height for hero */
    overflow: hidden;
}

.page-support__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-support__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-support__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 1;
}

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

.page-support__main-heading {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    color: #FFFFFF;
}

.page-support__sub-heading {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* CTA Button */
.page-support__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

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

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

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

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

/* Channels Section */
.page-support__channels-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

.page-support__channel-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px; /* Ensure cards have similar height */
}

.page-support__channel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-support__card-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

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

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

/* Self-Help Section */
.page-support__self-help-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Dark background */
    color: #FFFFFF; /* Light text */
}

.page-support__self-help-section .page-support__section-title,
.page-support__self-help-section .page-support__section-description {
    color: #FFFFFF;
}

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

.page-support__self-help-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__self-help-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-support__self-help-item .page-support__item-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Process Section */
.page-support__process-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-support__process-step {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-support__step-icon-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #26A9E0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
}

.page-support__step-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-support__step-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__step-description {
    font-size: 0.95em;
    color: #555555;
}

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Dark background */
    color: #FFFFFF; /* Light text */
}

.page-support__faq-section .page-support__section-title,
.page-support__faq-section .page-support__section-description {
    color: #FFFFFF;
}

.page-support__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-support__faq-item {
    background-color: #FFFFFF;
    border-radius: 8px;
    margin-bottom: 15px;
    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;
    background-color: #FFFFFF;
    color: #333333;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

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

.page-support__faq-title {
    margin: 0;
    font-size: 1.1em;
    color: #333333;
}

.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);
}

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

.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;
    padding-bottom: 10px;
    color: #555555;
}

/* Commitment Section */
.page-support__commitment-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

.page-support__commitment-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__commitment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-support__commitment-card .page-support__card-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

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

.page-support__commitment-card .page-support__card-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-support__cta-bottom {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: #eaf6fd; /* Light blue background */
    border-radius: 12px;
}

.page-support__cta-text {
    font-size: 1.5em;
    color: #333333;
    margin-bottom: 30px;
    font-weight: bold;
}

/* General image styling to ensure minimum size and responsiveness */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    object-fit: contain; /* Ensure images fit without cropping unnecessarily */
}

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

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-support__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    }
    .page-support__hero-content {
        padding: 15px;
    }
    .page-support__main-heading {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-support__sub-heading {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-support__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-support__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-support__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-support__channel-grid,
    .page-support__self-help-grid,
    .page-support__process-steps,
    .page-support__commitment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-support__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-support__channel-card,
    .page-support__self-help-item,
    .page-support__commitment-card {
        padding: 25px;
        min-height: auto;
    }

    /* Images responsiveness */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure minimum size is still enforced but scaled */
        min-height: 200px !important; /* Ensure minimum size is still enforced but scaled */
    }
    /* 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;
      overflow: hidden !important;
    }

    /* FAQ specific mobile styles */
    .page-support__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-support__faq-answer {
        padding: 15px 20px;
    }
    .page-support__faq-title {
        font-size: 1em;
    }
}