/* 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: var(--dark-bg, #0d0d0d); /* Inherit from shared or fallback */
}

/* Fixed header offset */
.page-support__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset to the first section */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    color: #ffffff;
}

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-support__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

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

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

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

/* General section styles */
.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-support__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    color: #017439; /* Brand color for titles */
}

.page-support__dark-section .page-support__section-title {
    color: #ffffff;
}

.page-support__section-text {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-support__light-bg .page-support__section-text {
    color: #333333;
}

.page-support__highlight {
    color: #FFFF00; /* Highlight color for keywords */
    font-weight: bold;
}

/* Section specific backgrounds and colors */
.page-support__dark-section {
    background-color: #017439; /* Main brand color for dark sections */
    color: #ffffff;
}

.page-support__light-bg {
    background-color: #ffffff; /* Auxiliary color for light sections */
    color: #333333;
}

/* Card styles */
.page-support__card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark sections */
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-support__light-bg .page-support__card {
    background: #ffffff; /* White background for light sections */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-support__card img {
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
    display: block; /* Ensure images behave correctly */
}

.page-support__card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Highlight color for card titles */
}

.page-support__light-bg .page-support__card h3 {
    color: #017439; /* Brand color for card titles in light sections */
}

.page-support__card p {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Make paragraphs take available space */
}

/* Button styles */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-support__btn-primary {
    background-color: #C30808; /* Register/Login red */
    color: #FFFF00; /* Register/Login font yellow */
    border: 2px solid #C30808;
    margin: 10px;
}

.page-support__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-support__btn-secondary {
    background-color: #ffffff;
    color: #017439; /* Brand green */
    border: 2px solid #017439;
    margin: 10px;
}

.page-support__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #005a2e;
    border-color: #005a2e;
}

.page-support__link {
    color: #FFFF00; /* Link color */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-support__light-bg .page-support__link {
    color: #017439;
}

.page-support__link:hover {
    color: #f0f0f0;
}

.page-support__light-bg .page-support__link:hover {
    color: #005a2e;
}

.page-support__link-text {
    color: #FFFF00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-support__light-bg .page-support__link-text {
    color: #017439;
}

.page-support__link-text:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

.page-support__light-bg .page-support__link-text:hover {
    color: #005a2e;
}

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

.page-support__method-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

/* Video Section */
.page-support__video-section {
    background-color: #f5f5f5; /* Light background for video section */
    color: #333333;
    padding: 60px 20px;
}

.page-support__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    cursor: pointer;
}

.page-support__video-cta {
    text-align: center;
    margin-top: 20px;
}

/* FAQ Section */
.page-support__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__faq-item {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark sections */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}