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

/* Header offset for fixed header */
.page-support__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

/* Sections */
.page-support__section-title {
    font-size: 2.5rem;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-support__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-support__sub-title {
    font-size: 1.8rem;
    color: #26A9E0; /* Brand color for subtitles */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-support__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #f0f0f0; /* Light text for dark background */
}

.page-support__highlight {
    color: #26A9E0;
    font-weight: bold;
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    padding: 80px 20px;
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff;
}

.page-support__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Darken image for text readability */
}

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

.page-support__hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-support__hero-description {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__btn-primary {
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
    margin-right: 15px;
}

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

.page-support__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Brand color */
    border: 2px solid #26A9E0;
}

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

.page-support__hero-button {
    font-size: 1.2rem;
}

/* Intro Section */
.page-support__intro-section {
    background-color: #ffffff; /* Light background */
    color: #333333; /* Dark text */
    padding: 60px 0;
}

.page-support__intro-section .page-support__text-block {
    color: #333333;
}

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

.page-support__channels-section .page-support__text-block {
    color: #f0f0f0;
}

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

.page-support__card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff; /* Light text for card */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__card:hover {
    transform: translateY(-10px);
}

.page-support__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-support__card-title {
    font-size: 1.5rem;
    color: #26A9E0; /* Brand color for card titles */
    margin-bottom: 15px;
}

.page-support__card-description {
    font-size: 1rem;
    color: #f0f0f0; /* Light text for card description */
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Process Section */
.page-support__process-section {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

.page-support__process-section .page-support__text-block {
    color: #333333;
}

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

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

.page-support__process-icon {
    width: 60px;
    height: 60px;
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.page-support__process-title {
    font-size: 1.4rem;
    color: #333333;
    margin-bottom: 10px;
}

.page-support__process-description {
    font-size: 1rem;
    color: #555555;
}

/* Common Issues Section */
.page-support__common-issues-section {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0;
}

.page-support__common-issues-section .page-support__text-block {
    color: #f0f0f0;
}

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

.page-support__card-issue {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-support__card-issue-title {
    font-size: 1.5rem;
    color: #26A9E0;
    margin-bottom: 20px;
}

.page-support__issue-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-support__issue-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #f0f0f0;
}

.page-support__issue-list li::before {
    content: '•';
    color: #26A9E0;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1.6;
}

.page-support__link-inline {
    color: #26A9E0;
    text-decoration: underline;
}

.page-support__link-inline:hover {
    color: #1e87b7;
}

/* Security Section */
.page-support__security-section {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

.page-support__security-section .page-support__text-block {
    color: #333333;
}

.page-support__security-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Tips Section */
.page-support__tips-section {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0;
}

.page-support__tips-section .page-support__text-block {
    color: #f0f0f0;
}

.page-support__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-support__tips-list li {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #26A9E0;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.1rem;
    color: #f0f0f0;
}

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

.page-support__faq-section .page-support__text-block {
    color: #333333;
}

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

.page-support__faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #f5f5f5;
    color: #333333;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.page-support__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* '+' to 'x' or '-' */
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: #ffffff;
    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: 15px 25px;
}

.page-support__faq-answer p {
    margin: 0;
    color: #555555;
    font-size: 1rem;
}

/* CTA Section */
.page-support__cta-section {
    background-color: #26A9E0; /* Brand color background */
    color: #ffffff;
    text-align: center;
    padding: 60px 0;
}

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

.page-support__cta-section .page-support__section-title::after {
    background-color: #ffffff;
}

.page-support__cta-section .page-support__text-block {
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 30px;
}

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

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

@media (max-width: 768px) {
    /* Mobile image responsiveness */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__hero-section,
    .page-support__hero-image-wrapper,
    .page-support__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Hero section specific adjustments */
    .page-support__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header */
    }
    .page-support__hero-title {
        font-size: 2.2rem;
    }
    .page-support__hero-description {
        font-size: 1rem;
    }
    .page-support__hero-button {
        font-size: 1rem;
        margin-right: 0;
        margin-bottom: 15px;
    }

    /* General section titles */
    .page-support__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-support__sub-title {
        font-size: 1.4rem;
    }
    .page-support__text-block {
        font-size: 0.95rem;
    }

    /* Grid layouts */
    .page-support__grid,
    .page-support__process-steps,
    .page-support__grid-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Buttons responsive */
    .page-support__btn-primary,
    .page-support__btn-secondary {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 15px !important; /* For vertical stacking */
        font-size: 1rem !important;
        padding: 12px 20px !important;
    }

    .page-support__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }

    /* FAQ specific */
    .page-support__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-support__faq-answer {
        padding: 0 20px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px 20px;
    }
    .page-support__faq-toggle {
        font-size: 1.2rem;
    }

    /* Ensure content padding for mobile */
    .page-support__intro-section,
    .page-support__channels-section,
    .page-support__process-section,
    .page-support__common-issues-section,
    .page-support__security-section,
    .page-support__tips-section,
    .page-support__faq-section,
    .page-support__cta-section {
        padding: 40px 0; /* Adjust vertical padding */
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8rem;
    }
    .page-support__section-title {
        font-size: 1.6rem;
    }
    .page-support__card-title,
    .page-support__process-title,
    .page-support__card-issue-title {
        font-size: 1.3rem;
    }
}