/* style/support.css */
.page-support {
    color: #000000; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Header offset for fixed header */
.page-support__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    position: relative;
    overflow: hidden;
    text-align: center;
    background-color: #000000; /* Dark background for hero content */
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Slightly dim image to make text readable */
}

.page-support__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
}

.page-support__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FCBC45; /* Gold for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.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;
    min-width: 200px;
    text-align: center;
}

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

.page-support__button--primary:hover {
    background-color: #e0a53a;
    border-color: #e0a53a;
}

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

.page-support__button--secondary:hover {
    background-color: #333333;
    border-color: #FCBC45;
}

.page-support__button--tertiary {
    background-color: transparent;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-support__button--tertiary:hover {
    background-color: #FCBC45;
    color: #FFFFFF;
}

.page-support__section-title {
    font-size: 2.8em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

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

.page-support__faq-section {
    background-color: #FFFFFF;
    padding: 60px 0;
}

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

.page-support__faq-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #FCBC45;
}

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

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

.page-support__faq-answer a {
    color: #FCBC45;
    text-decoration: none;
}

.page-support__faq-answer a:hover {
    text-decoration: underline;
}

.page-support__contact-methods {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.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: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__contact-icon {
    width: 200px; /* Min size for content images */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-support__card-description {
    font-size: 1em;
    color: #333333;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support__resources-section {
    background-color: #FFFFFF;
    padding: 60px 0;
}

.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: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-right: 5px solid #FCBC45;
}

.page-support__resource-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-support__resource-title a {
    color: #000000;
    text-decoration: none;
}

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

.page-support__resource-description {
    font-size: 1em;
    color: #333333;
}

.page-support__cta-section {
    background-color: #000000;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-support__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-support__cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.page-support__cta-title {
    font-size: 3em;
    color: #FCBC45;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-support__cta-description {
    font-size: 1.2em;
    color: #FFFFFF;
    margin-bottom: 40px;
}

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

.page-support__image {
    width: 100%;
    max-width: 800px; /* Ensure content images are large enough */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

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

@media (max-width: 768px) {
    .page-support__hero-section {
        min-height: 400px;
        padding: 40px 15px;
    }
    .page-support__hero-title {
        font-size: 2.5em;
    }
    .page-support__hero-description {
        font-size: 1.1em;
    }
    .page-support__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__button {
        width: 100%;
        max-width: 300px;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__faq-grid,
    .page-support__contact-grid,
    .page-support__resources-grid {
        grid-template-columns: 1fr;
    }
    .page-support__faq-item,
    .page-support__contact-card,
    .page-support__resource-card {
        padding: 20px;
    }
    .page-support__faq-question,
    .page-support__card-title,
    .page-support__resource-title {
        font-size: 1.3em;
    }
    .page-support__cta-title {
        font-size: 2em;
    }
    .page-support__cta-description {
        font-size: 1em;
    }
    .page-support__image {
        max-width: 100%;
        height: auto; /* Ensure images are responsive */
    }
    .page-support__image-wrapper img {
        max-width: 100%;
        height: auto;
    }
    /* Ensure all images within .page-support are responsive and not too small */
    .page-support img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size for mobile content images */
        min-height: 200px;
    }
    .page-support__contact-icon {
        width: 200px; /* Min size for content images */
        height: 150px;
    }
}

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