/* style/support.css */

/* Base styles for the support page */
.page-support {
    color: #ffffff; /* Default text color for dark body background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

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

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

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

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

.page-support__btn-primary {
    display: inline-block;
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

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

/* General Section Styling */
.page-support__channels-section,
.page-support__download-guide-section,
.page-support__troubleshooting-section,
.page-support__faq-section,
.page-support__security-section,
.page-support__tips-section,
.page-support__cta-final-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-support__section-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
}

/* Channels Section */
.page-support__channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-support__channel-item {
    background-color: #f0f0f0; /* Light background for items in light section */
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.page-support__channel-icon {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
}

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

.page-support__channel-text {
    font-size: 1em;
    margin-bottom: 20px;
}

.page-support__btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: #26A9E0;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #26A9E0;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

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

/* Download Guide Section */
.page-support__download-guide-section .page-support__section-title,
.page-support__download-guide-section .page-support__section-description {
    color: #ffffff;
}

.page-support__guide-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 40px;
    margin-top: 50px;
}

.page-support__guide-steps {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-support__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 5px solid #26A9E0;
}

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

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

.page-support__download-cta {
    margin-top: 30px;
    width: fit-content;
}

.page-support__guide-image {
    flex: 1;
    min-width: 400px;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Troubleshooting Section */
.page-support__troubleshooting-section .page-support__section-title,
.page-support__troubleshooting-section .page-support__section-description {
    color: #333333;
}

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

.page-support__issue-item {
    background-color: #f0f0f0;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

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

.page-support__issue-text {
    font-size: 1em;
}

.page-support__troubleshooting-image {
    margin-top: 50px;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-support__faq-section .page-support__section-title,
.page-support__faq-section .page-support__section-description {
    color: #ffffff;
}

.page-support__faq-list {
    max-width: 800px;
    margin: 50px auto 0 auto;
    text-align: left;
}

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #f0f0f0;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.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;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important;
    padding: 20px 25px;
}

.page-support__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

.page-support__faq-cta {
    margin-top: 50px;
    width: fit-content;
}

/* Security Section */
.page-support__security-section .page-support__section-title,
.page-support__security-section .page-support__section-description {
    color: #333333;
}

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

.page-support__security-item {
    background-color: #f0f0f0;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

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

.page-support__security-text {
    font-size: 1em;
}

.page-support__security-image {
    margin-top: 50px;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Tips Section */
.page-support__tips-section .page-support__section-title,
.page-support__tips-section .page-support__section-description {
    color: #ffffff;
}

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

.page-support__tip-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #f0f0f0;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #EA7C07;
    text-align: left;
}

.page-support__tip-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #EA7C07;
}

.page-support__tip-text {
    font-size: 1em;
}

/* Final CTA Section */
.page-support__cta-final-section {
    padding: 60px 0;
    background-color: #ffffff;
    color: #333333;
}

.page-support__cta-final-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-support__cta-final-section .page-support__section-title {
    color: #26A9E0;
    margin-bottom: 0;
}

.page-support__cta-final-button {
    font-size: 1.3em;
    padding: 18px 35px;
}

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

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

    .page-support__guide-content {
        flex-direction: column;
    }

    .page-support__guide-image,
    .page-support__troubleshooting-image,
    .page-support__security-image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }

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

    .page-support__hero-section {
        padding: 80px 0;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

    .page-support__btn-primary,
    .page-support__btn-secondary {
        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__channels-grid,
    .page-support__issues-grid,
    .page-support__security-grid,
    .page-support__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

    .page-support__channel-item,
    .page-support__step-item,
    .page-support__issue-item,
    .page-support__security-item,
    .page-support__tip-item {
        padding: 20px;
    }

    .page-support__channel-title,
    .page-support__step-title,
    .page-support__issue-title,
    .page-support__security-title,
    .page-support__tip-title {
        font-size: 1.3em;
    }

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

    /* Images responsive */
    .page-support img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-support__hero-image {
        position: relative;
        height: 250px;
        opacity: 0.5;
    }

    .page-support__hero-section .page-support__container {
        position: relative;
        z-index: 1;
        padding: 0 15px;
    }

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

    /* Button group responsive */
    .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;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column;
    }
}

/* Color Contrast Fixes (as per instructions) */
.page-support p,
.page-support li {
  color: inherit;
}

/* Ensure text in light sections is dark */
.page-support__light-bg .page-support__section-title,
.page-support__light-bg .page-support__section-description,
.page-support__light-bg .page-support__channel-text,
.page-support__light-bg .page-support__issue-text,
.page-support__light-bg .page-support__security-text,
.page-support__light-bg .page-support__tip-text {
    color: #333333;
}

/* Ensure text in dark sections is light */
.page-support__dark-bg .page-support__section-title,
.page-support__dark-bg .page-support__section-description,
.page-support__dark-bg .page-support__step-text,
.page-support__dark-bg .page-support__tip-text,
.page-support__dark-bg .page-support__faq-answer p {
    color: #f0f0f0;
}

.page-support__dark-bg .page-support__faq-question {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.page-support__dark-bg .page-support__faq-item.active .page-support__faq-question {
    border-bottom-color: transparent;
}

/* Specific button colors */
.page-support__btn-primary {
    background: #26A9E0;
    color: #ffffff;
}

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

.page-support__step-item {
    border-left-color: #26A9E0;
}
.page-support__tip-item {
    border-left-color: #EA7C07;
}