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

.page-support__hero-section {
    background-color: #FFFFFF; /* White background */
    padding: 80px 20px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-support__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-support__hero-title {
    font-size: 3em;
    color: #000000;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__hero-description {
    font-size: 1.2em;
    color: #333333;
    margin-bottom: 30px;
}

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

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

.page-support__button--login {
    background-color: #FCBC45; /* Login color */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-support__button--login:hover {
    background-color: #e0a73a;
    border-color: #e0a73a;
}

.page-support__button--register {
    background-color: #FFFFFF; /* Register color */
    color: #000000;
    border: 2px solid #000000;
}

.page-support__button--register:hover {
    background-color: #f0f0f0;
    border-color: #333333;
}

.page-support__hero-image {
    max-width: 100%;
    overflow: hidden;
}

.page-support__hero-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.page-support__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__section-intro {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.page-support__faq-section,
.page-support__contact-section,
.page-support__resources-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
    margin-bottom: 20px;
}

.page-support__faq-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-support__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-support__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__faq-answer {
    font-size: 1em;
    color: #555555;
}

.page-support__faq-answer a {
    color: #000000; /* Link color */
    text-decoration: underline;
}

.page-support__faq-answer a:hover {
    color: #FCBC45;
}

.page-support__contact-methods {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-support__contact-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 380px; /* Ensure cards have consistent height */
}

.page-support__contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-support__contact-card img {
    max-width: 100%; /* Ensure images in cards are responsive */
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
    min-width: 200px; /* Minimum image size for content */
    min-height: 200px; /* Minimum image size for content */
    object-fit: cover;
}

.page-support__card-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__card-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows description to take available space */
}

.page-support__contact-card .page-support__button {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    padding: 12px 25px;
    min-width: unset; /* Override min-width for smaller buttons */
    width: fit-content;
}

.page-support__contact-card .page-support__button:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-support__resources-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-support__resource-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.page-support__resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-support__resource-card img {
    width: 100%;
    height: 250px; /* Fixed height for resource card images */
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-support__resource-title {
    font-size: 1.4em;
    color: #000000;
    margin: 15px 20px 10px;
    font-weight: bold;
}

.page-support__resource-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 20px 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.5em;
    }

    .page-support__hero-description {
        font-size: 1.1em;
    }

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

@media (max-width: 768px) {
    .page-support__hero-section {
        flex-direction: column;
        padding: 60px 15px 30px;
    }

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

    .page-support__hero-description {
        font-size: 1em;
    }

    .page-support__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-support__button {
        width: 100%;
        max-width: 300px;
    }

    .page-support__faq-section,
    .page-support__contact-section,
    .page-support__resources-section {
        padding: 40px 15px;
    }

    .page-support__faq-grid,
    .page-support__contact-methods,
    .page-support__resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__faq-item,
    .page-support__contact-card,
    .page-support__resource-card {
        padding: 20px;
    }

    .page-support__faq-question {
        font-size: 1.2em;
    }

    .page-support__card-title,
    .page-support__resource-title {
        font-size: 1.3em;
    }

    /* Ensure images are responsive and do not overflow */
    .page-support__hero-image img,
    .page-support__contact-card img,
    .page-support__resource-card img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size for content images */
        min-height: 200px;
    }
}

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

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