/* 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: #121212; /* Inherited from body, confirm for clarity */
}

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

/* Container for consistent spacing */
.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #007BFF, #0056b3); /* Primary brand color gradient */
    color: #ffffff;
}

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

.page-support__hero-section .page-support__container {
    position: relative;
    z-index: 1;
}

.page-support__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFC107; /* Emphasize with accent color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    line-height: 1.8;
}

/* Call to action button */
.page-support__cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-support__btn-primary {
    background-color: #FFC107; /* Accent color for primary button */
    color: #121212; /* Dark text for contrast */
}

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

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

.page-support__btn-secondary:hover {
    background-color: #FFC107;
    color: #121212;
    transform: translateY(-2px);
}

/* Section common styles */
.page-support__contact-methods,
.page-support__faq-section,
.page-support__additional-resources,
.page-support__why-choose {
    padding: 60px 0;
    text-align: center;
}

.page-support__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #FFC107; /* Accent color for section titles */
}

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

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

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

.page-support__method-card:hover {
    transform: translateY(-5px);
}

.page-support__method-icon {
    width: 100px; /* Enforce min size for images */
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 193, 7, 0.5)); /* Subtle glow with accent color */
}

.page-support__method-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFC107;
}

.page-support__method-text {
    font-size: 1em;
    margin-bottom: 25px;
    flex-grow: 1; /* Ensures text takes available space */
}

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

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(0, 123, 255, 0.6); /* Slightly darker primary color */
    color: #ffffff;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

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

.page-support__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #FFC107;
    color: #121212;
    transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg);
    background-color: #ffffff;
    color: #007BFF;
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px 25px;
}

.page-support__faq-answer p {
    margin: 0;
    color: #f0f0f0; /* Ensure text in answer is light */
}
.page-support__faq-answer a {
    color: #FFC107; /* Highlight links in FAQ answers */
    text-decoration: none;
}
.page-support__faq-answer a:hover {
    text-decoration: underline;
}

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

.page-support__resource-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    text-align: left;
    color: #ffffff;
}

.page-support__resource-card:hover {
    transform: translateY(-5px);
}

.page-support__resource-title {
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-support__resource-title a {
    color: #FFC107; /* Links in resource cards */
    text-decoration: none;
}

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

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

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