/* 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;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    background-color: #26A9E0; /* Brand color as background */
    color: #ffffff;
}

.page-support__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-support__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    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;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt */
    white-space: normal;
    word-wrap: break-word;
}

.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: #d16b06;
    border-color: #d16b06;
}

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

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

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Subtle background image */
}

/* Video Section */
.page-support__video-section {
    padding: 60px 0;
    background-color: #0d0d0d; /* Slightly lighter dark background */
    text-align: center;
    color: #ffffff;
}

.page-support__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 10px;
}

.page-support__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block; /* Ensure it takes full width */
    cursor: pointer;
}

.page-support__video-cta {
    font-size: 1.1em;
    margin-top: 20px;
}

.page-support__video-cta a {
    color: #26A9E0;
    text-decoration: underline;
}

/* General Content Area */
.page-support__content-area {
    padding: 60px 0;
    background-color: #1a1a1a; /* Darker background for content */
    color: #ffffff;
}

.page-support__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: #26A9E0; /* Brand color for titles */
    font-weight: bold;
}

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

.page-support__paragraph {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #e0e0e0;
}

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

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

.page-support__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #26A9E0;
    text-align: center;
}

.page-support__list {
    list-style: disc;
    padding-left: 40px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-support__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-support__list-item strong {
    color: #ffffff;
}

.page-support__list-item a {
    color: #26A9E0;
    text-decoration: none;
}

.page-support__list-item a:hover {
    text-decoration: underline;
}

.page-support__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 0;
    background-color: #0a0a0a; /* Darkest background */
    color: #ffffff;
}

.page-support__faq-list {
    margin-top: 40px;
}

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white for cards */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

.page-support__faq-item[open] > .page-support__faq-question {
    background-color: rgba(255, 255, 255, 0.12);
}

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

.page-support__faq-qtext {
    flex-grow: 1;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-support__faq-item details > summary {
    list-style: none;
}
.page-support__faq-item details > summary::-webkit-details-marker {
    display: none;
}

.page-support__faq-answer {
    padding: 20px;
    padding-top: 0;
    font-size: 1.05em;
    color: #e0e0e0;
}

.page-support__faq-answer p {
    margin-bottom: 10px;
}

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

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


/* Contact Channels Section */
.page-support__contact-channels {
    padding: 60px 0;
    background-color: #1a1a1a;
    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-item {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__channel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-support__channel-text {
    margin-bottom: 25px;
    color: #e0e0e0;
}

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

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

.page-support__resource-card {
    display: block; /* Make the whole card clickable */
    text-decoration: none;
    padding: 30px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff; /* Text color for resource cards */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-support__resource-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-support__resource-text {
    font-size: 1em;
    color: #e0e0e0;
}

/* Why Choose Us Section */
.page-support__why-choose-us {
    padding: 60px 0 80px 0;
    background-color: #1a1a1a;
    color: #ffffff;
}

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

.page-support__benefit-item {
    padding: 30px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-support__benefit-text {
    color: #e0e0e0;
}

.page-support__final-cta {
    text-align: center;
    font-size: 1.2em;
    margin-top: 60px;
    color: #f0f0f0;
}

.page-support__final-cta a {
    color: #26A9E0;
    text-decoration: underline;
    font-weight: bold;
}

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

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
    }

    .page-support__hero-section {
        padding: 60px 0;
    }

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

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

    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to buttons container */
    }

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

    .page-support__video-section,
    .page-support__content-area,
    .page-support__faq-section,
    .page-support__contact-channels,
    .page-support__resources-section,
    .page-support__why-choose-us {
        padding: 40px 0;
    }

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

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

    .page-support__sub-title {
        font-size: 1.4em;
    }

    .page-support__list {
        padding-left: 25px;
    }

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

    .page-support__faq-answer {
        font-size: 0.95em;
    }

    .page-support__channels-grid,
    .page-support__resources-grid,
    .page-support__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    /* Mobile image and video specific overrides */
    .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__container,
    .page-support__section,
    .page-support__card,
    .page-support__video-section,
    .page-support__video-container,
    .page-support__video-wrapper,
    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container,
    .page-support__channels-grid,
    .page-support__resources-grid,
    .page-support__benefits-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }
    .page-support__video-wrapper {
      padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    }

    .page-support__final-cta {
        font-size: 1em;
        margin-top: 40px;
    }
}

/* Color contrast enforcement - Dark body background means light text */
.page-support {
    color: #ffffff; /* Default text for the main content area */
}

.page-support__dark-bg {
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-support__light-bg {
    background-color: #1a1a1a; /* Slightly lighter dark background */
    color: #ffffff; /* Light text */
}

.page-support__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
    color: #ffffff; /* Light text */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.page-support a {
  color: #26A9E0; /* Brand color for links */
}

/* Ensure content area p and li tags have proper color */
.page-support__content-area p,
.page-support__content-area li {
    color: #e0e0e0;
}