/* style/support.css */

/* General Styling for Support Page */
.page-support {
    font-family: 'Arial', sans-serif;
    color: #333; /* Dark grey for general text */
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background for the page */
}

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

/* Hero Section */
.page-support-hero {
    background: linear-gradient(135deg, #007bff 0%, #4da3ff 100%); /* Lighter blue for gradient */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-support-hero-image {
    position: absolute;
    bottom: -20px;
    right: -50px;
    opacity: 0.2;
    width: 300px;
    height: auto;
    z-index: 0;
}

.page-support-hero .page-support-container {
    position: relative;
    z-index: 1;
}

.page-support-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-support-subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #e0e0e0; /* Lighter white for subtitle */
}

.page-support-cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.page-support-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    font-size: 1.1em;
}

.page-support-btn-primary {
    background-color: #ffc107; /* Auxiliary color for primary action */
    color: #333; /* Dark text for contrast */
    border: 2px solid #ffc107;
}

.page-support-btn-primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-2px);
}

.page-support-btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.page-support-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Section Styling */
.page-support-section {
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-support-section:nth-of-type(even) {
    background-color: #e9ecef; /* Light grey for alternating sections */
}

.page-support-section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #007bff; /* Main color for section titles */
    font-weight: bold;
}

.page-support-section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support-keyword {
    color: #007bff; /* Main color for keywords in light sections */
    font-weight: bold;
}

/* FAQ Section */
.page-support-faq-list {
    text-align: left;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-support-faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

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

.page-support-faq-question {
    font-size: 1.3em;
    color: #007bff; /* Main color for questions */
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
}

.page-support-faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    color: #ffc107;
    transition: transform 0.3s ease;
}

.page-support-faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-support-faq-answer {
    font-size: 1em;
    color: #555;
    display: none; /* Hidden by default, JS will toggle */
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.page-support-faq-answer.active {
    display: block;
}

.page-support-faq-answer a {
    color: #007bff;
    text-decoration: underline;
}

.page-support-faq-answer a:hover {
    color: #0056b3;
}

/* Guides Section */
.page-support-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

.page-support-guide-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-support-guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.page-support-guide-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px;
}

.page-support-guide-title {
    font-size: 1.4em;
    color: #007bff;
    margin-bottom: 10px;
}

.page-support-guide-text {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
}

.page-support-btn-link {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    font-size: 0.95em;
    border: 2px solid #007bff;
}

.page-support-btn-link:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Contact Section */
.page-support-contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

.page-support-contact-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.2s ease;
}

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

.page-support-contact-title {
    font-size: 1.4em;
    color: #007bff;
    margin-bottom: 10px;
}

.page-support-contact-text {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
}

/* Call to Action Section */
.page-support-action {
    background-color: #007bff; /* Main color for strong CTA */
    color: #fff;
    padding: 80px 0;
}

.page-support-action .page-support-section-title {
    color: #fff;
}

.page-support-action .page-support-section-description {
    color: #e0e0e0;
}

.page-support-action .page-support-keyword {
    color: #ffc107; /* Auxiliary color for keywords in dark sections */
}

.page-support-large-btn {
    padding: 15px 40px;
    font-size: 1.3em;
    border-width: 3px;
}

/* Image styling for sections */
.page-support-section-image {
    position: absolute;
    opacity: 0.1;
    width: 200px;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.page-support-faq .page-support-section-image {
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(10deg);
}

.page-support-guides .page-support-section-image {
    bottom: 0;
    right: 0;
    transform: rotate(-15deg);
}

.page-support-contact .page-support-section-image {
    top: 0;
    right: 0;
    transform: rotate(5deg);
}

.page-support-action .page-support-section-image {
    bottom: -30px;
    left: -30px;
    transform: rotate(-20deg);
}


/* Responsive Design */
@media (max-width: 768px) {
    .page-support-title {
        font-size: 2.5em;
    }

    .page-support-subtitle {
        font-size: 1.2em;
    }

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

    .page-support-cta-group {
        flex-direction: column;
    }

    .page-support-btn {
        width: 80%;
        margin: 0 auto;
    }

    .page-support-guide-grid,
    .page-support-contact-methods {
        grid-template-columns: 1fr;
    }
}

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

    .page-support-subtitle {
        font-size: 1em;
    }

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

    .page-support-hero-image,
    .page-support-section-image {
        display: none; /* Hide decorative images on small screens */
    }
}

/* Ensure contrast for specific elements */
.page-support-btn-primary {
    background-color: #ffc107; /* Auxiliary color */
    color: #333; /* Dark text for contrast (WCAG AA) */
    border: 2px solid #ffc107;
}
.page-support-btn-primary:hover {
    background-color: #e0a800; /* Darker yellow */
    border-color: #e0a800;
}

.page-support-btn-secondary {
    background-color: transparent;
    color: #fff; /* White text on blue background */
    border: 2px solid #fff;
}
.page-support-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-support-btn-link {
    background-color: #007bff; /* Main color */
    color: #fff; /* White text for contrast (WCAG AA) */
    border: 2px solid #007bff;
}
.page-support-btn-link:hover {
    background-color: #0056b3; /* Darker blue */
    border-color: #0056b3;
}

.page-support-action {
    background-color: #007bff; /* Main color */
    color: #fff;
}
.page-support-action .page-support-section-title {
    color: #fff;
}
.page-support-action .page-support-section-description {
    color: #e0e0e0;
}
.page-support-action .page-support-keyword {
    color: #ffc107; /* Auxiliary color for keywords on dark background */
}

/* FAQ question and answer contrast */
.page-support-faq-question {
    color: #007bff;
}
.page-support-faq-answer {
    color: #555;
    background-color: #fff; /* Ensure white background for answer text */
}