/* style/support.css */

/* Base Styles */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: var(--background-color, #ffffff); /* Fallback to white if var is not set */
}

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

.page-support__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #555555;
}

/* Hero Section */
.page-support__hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    background: linear-gradient(90deg, #017439 0%, #015c2d 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-support__hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.page-support__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #FFFF00; /* Register and login font color */
}

.page-support__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #ffffff;
}

.page-support__hero-buttons {
    display: flex;
    gap: 15px;
}

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-support__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

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

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

.page-support__btn-secondary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

.page-support__btn-tertiary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
}

.page-support__btn-tertiary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-support__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 0;
}

.page-support__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Video Section */
.page-support__video-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.page-support__video-link {
    display: block;
    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;
}

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

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

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

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

.page-support__channel-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    object-fit: contain;
    border-radius: 8px;
}

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

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

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

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

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

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

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

.page-support__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #017439;
    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;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
    background-color: #fefefe;
}

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

.page-support__faq-answer p {
    margin-bottom: 10px;
    font-size: 1em;
}

/* Commitment Section */
.page-support__commitment-section {
    padding: 80px 0;
    background: linear-gradient(90deg, #017439 0%, #015c2d 100%);
    color: #ffffff;
}

.page-support__commitment-section .page-support__section-title,
.page-support__commitment-section .page-support__section-description {
    color: #ffffff;
}

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

.page-support__commitment-item {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-support__commitment-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 8px;
}

.page-support__commitment-title {
    font-size: 1.8em;
    color: #FFFF00; /* Highlighted color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__commitment-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Contact CTA Section */
.page-support__contact-cta {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.8em;
    }

    .page-support__hero-description {
        font-size: 1.1em;
    }

    .page-support__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header on mobile */
    }

    .page-support__hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .page-support__hero-title {
        font-size: 2.2em;
    }

    .page-support__hero-description {
        font-size: 1em;
    }

    .page-support__hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-tertiary {
        width: 100% !important;
        max-width: 300px !important;
        padding: 12px 20px;
        font-size: 0.95em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-support__hero-image-wrapper {
        justify-content: center;
    }

    .page-support__video-section,
    .page-support__channels-section,
    .page-support__faq-section,
    .page-support__commitment-section,
    .page-support__contact-cta {
        padding: 50px 0;
    }

    .page-support__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-support__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-support__channels-grid,
    .page-support__commitment-grid {
        grid-template-columns: 1fr;
    }

    .page-support__channel-card,
    .page-support__commitment-item {
        padding: 25px;
    }

    .page-support__channel-icon,
    .page-support__commitment-icon {
        width: 80px;
        height: 80px;
    }

    .page-support__channel-title,
    .page-support__commitment-title {
        font-size: 1.4em;
    }

    .page-support__faq-question {
        padding: 15px 20px;
    }

    .page-support__faq-item-title {
        font-size: 1.1em;
    }

    .page-support__faq-answer {
        padding: 0 20px;
    }

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

    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    /* Image and Video Responsiveness for mobile */
    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .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,
    .page-support__channels-section,
    .page-support__channel-card,
    .page-support__commitment-section,
    .page-support__commitment-item,
    .page-support__contact-cta,
    .page-support__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-support__content-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .page-support__hero-image-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }
}

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

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

    .page-support__hero-description,
    .page-support__section-description,
    .page-support__channel-text,
    .page-support__commitment-text,
    .page-support__faq-answer p {
        font-size: 0.9em;
    }

    .page-support__faq-item-title {
        font-size: 1em;
    }
}