/* style/support.css */
.page-support {
    font-family: 'Arial', sans-serif;
    color: #e5dfd3; /* Light text color for dark background */
    background-color: #1A202C; /* Dark background */
    line-height: 1.6;
}

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

.page-support-hero {
    background: linear-gradient(135deg, #FFD700 0%, #FFD700 50%, #1A202C 100%); /* Adjusted gradient for better contrast */
    padding: 80px 0;
    text-align: center;
}

.page-support-hero .page-support-container {
    color: #1A202C; /* Ensure dark text on the lighter part of the gradient */
}

.page-support-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #1A202C; /* Dark text for contrast */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    font-weight: bold;
}

.page-support-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #333; /* Darker text for readability */
}

.page-support-hero-actions .page-support-btn {
    margin: 0 10px;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
    font-size: 1.1em;
}

.page-support-btn-primary {
    background-color: #1A202C;
    color: #FFD700;
    border: 2px solid #1A202C;
}

.page-support-btn-primary:hover {
    background-color: #000;
    color: #FFD700;
}

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

.page-support-btn-secondary:hover {
    background-color: #1A202C;
    color: #FFD700;
}

.page-support-section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for main titles */
    text-align: center;
    margin-bottom: 20px;
    margin-top: 60px;
    font-weight: bold;
}

.page-support-section-description {
    font-size: 1.1em;
    color: #e5dfd3; /* Light text */
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Accordion */
.page-support-accordion {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-support-accordion-item {
    background-color: #2a303c;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #3d4554;
}

.page-support-accordion-header {
    background-color: #3d4554;
    color: #FFD700;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.page-support-accordion-header:hover {
    background-color: #4a5260;
}

.page-support-accordion-icon {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    display: inline-block;
    color: #FFD700;
}
.page-support-accordion-icon::before {
    content: '+';
}

/* JS will apply transform directly to .page-support-accordion-icon */

.page-support-accordion-content {
    padding: 0 25px;
    background-color: #2a303c;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-support-accordion-content.active {
    max-height: 200px; /* This will be overridden by JS for dynamic height */
    padding: 15px 25px 25px;
}

.page-support-accordion-content p {
    color: #e5dfd3;
    line-height: 1.6;
    margin-bottom: 10px;
}

.page-support-text-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-support-text-link:hover {
    color: #fff;
}

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

.page-support-contact-item {
    background-color: #2a303c;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #3d4554;
}

.page-support-contact-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-support-contact-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support-contact-description {
    color: #e5dfd3;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 25px;
}

.page-support-btn-outline {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.page-support-btn-outline:hover {
    background-color: #FFD700;
    color: #1A202C;
}

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

.page-support-guide-card {
    background-color: #2a303c;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    border: 1px solid #3d4554;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support-guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-support-guide-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #3d4554;
}

.page-support-guide-card h3 {
    font-size: 1.6em;
    color: #FFD700;
    margin: 20px 0 10px;
    font-weight: bold;
}

.page-support-guide-card p {
    color: #e5dfd3;
    padding: 0 20px;
    margin-bottom: 20px;
}

.page-support-btn-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
    display: inline-block;
    margin-bottom: 20px;
}

.page-support-btn-link:hover {
    border-bottom-color: #FFD700;
}

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

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

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

    .page-support-hero-actions .page-support-btn {
        display: block;
        margin: 10px auto;
        width: 80%;
        max-width: 300px;
    }

    .page-support-accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-support-accordion-content {
        padding: 0 20px;
    }

    .page-support-accordion-content.active {
        padding: 15px 20px 20px;
    }

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

@media (max-width: 480px) {
    .page-support-hero {
        padding: 60px 0;
    }

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

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

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

    .page-support-contact-item, .page-support-guide-card {
        padding: 20px;
    }
}