/* style/support.css */
.page-support {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
    background-color: #1A1A1A; /* Auxiliary dark background for hero */
    min-height: 600px;
}

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.page-support__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background */
    filter: brightness(0.7); /* Darken slightly, but not change color */
    display: block; /* Ensure no extra space */
    min-width: 200px; /* Min size constraint */
    min-height: 200px; /* Min size constraint */
}

.page-support__hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
}

.page-support__hero-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

.page-support__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.page-support__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-support__button--primary {
    background-color: #FFD700; /* Gold background */
    color: #1A1A1A; /* Dark text */
    border: 2px solid #FFD700;
}

.page-support__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-support__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-support__button--secondary:hover {
    background-color: #FFD700;
    color: #1A1A1A;
    transform: translateY(-3px);
}

.page-support__button--inline {
    padding: 8px 15px;
    font-size: 0.9em;
    margin-top: 15px;
    min-width: unset; /* Override min-width for inline buttons */
}

.page-support__button--card {
    width: 100%;
    margin-top: 20px;
    padding: 12px 20px;
    font-size: 1em;
}

/* General Section Styling */
.page-support__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-support__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.page-support__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #f0f0f0;
}

/* FAQ Section */
.page-support__faq-section {
    background-color: #1A1A1A; /* Dark background for contrast */
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-support__faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__faq-question {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-support__faq-question::after {
    content: '+';
    font-size: 1.2em;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
    font-size: 1em;
    color: #f0f0f0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
}

.page-support__faq-answer.active {
    max-height: 500px; /* Adjust as needed for content */
    opacity: 1;
}

.page-support__faq-answer p {
    margin-bottom: 15px;
}

.page-support__image-container {
    margin-top: 60px;
    text-align: center;
}

.page-support__image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Min size constraint */
    min-height: 200px; /* Min size constraint */
    display: block;
    margin: 0 auto;
}

/* Contact Methods Section */
.page-support__contact-methods {
    padding: 60px 0;
    background-color: #333; /* Body background color */
}

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

.page-support__contact-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-support__contact-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.12);
}

.page-support__card-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-support__card-text {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 20px;
}

/* Resource Center Section */
.page-support__resource-center {
    background-color: #1A1A1A;
    padding: 60px 0;
}

.page-support__resource-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.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-support__resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.15);
}

.page-support__resource-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Min size constraint */
    min-height: 200px; /* Min size constraint */
}

.page-support__resource-card .page-support__card-title {
    font-size: 1.5em;
    margin: 20px 20px 10px 20px;
    text-align: left;
    color: #FFD700;
}

.page-support__resource-card .page-support__card-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__resource-card .page-support__card-title a:hover {
    color: #e6c200;
}

.page-support__resource-card .page-support__card-text {
    font-size: 0.95em;
    color: #cccccc;
    text-align: left;
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

.page-support__resource-card .page-support__button {
    margin: 0 20px 20px 20px;
    align-self: flex-start;
}

/* Call to Action Section */
.page-support__cta-section {
    background: linear-gradient(45deg, #1A1A1A, #333);
    padding: 80px 20px;
    text-align: center;
}

.page-support__cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}


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

@media (max-width: 768px) {
    .page-support__hero-section {
        padding: 60px 20px;
        min-height: 500px;
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__button {
        width: 80%;
        max-width: 300px;
    }
    .page-support__content-area {
        padding: 40px 15px;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-support__faq-question {
        font-size: 1.2em;
    }
    .page-support__faq-answer {
        font-size: 0.9em;
    }
    .page-support__contact-grid,
    .page-support__resource-grid {
        grid-template-columns: 1fr;
    }
    .page-support__resource-card img {
        height: 200px;
    }

    /* Mobile content area images must not overflow */
    .page-support img {
        max-width: 100%;
        height: auto;
    }
    .page-support__image-container img {
        max-width: 100%;
        height: auto;
    }
    .page-support__resource-card img {
        max-width: 100%;
        height: auto;
    }
    .page-support__hero-image img {
        max-width: 100%; /* Ensure hero image doesn't overflow horizontally */
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__hero-section {
        padding: 40px 15px;
        min-height: 400px;
    }
    .page-support__button {
        width: 95%;
    }
    .page-support__faq-question {
        font-size: 1.1em;
    }
    .page-support__card-title {
        font-size: 1.5em;
    }
}