/* 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: transparent; /* Body background is handled by shared.css */
}

/* Header offset to prevent content from being hidden by fixed header */
.page-support__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset */
    position: relative;
    overflow: hidden;
    background-color: #017439; /* Use primary brand color for hero background */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding-bottom: 60px;
}

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

.page-support__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
}

.page-support__hero-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    max-width: 100%; /* Ensure buttons don't exceed container width */
}

.page-support__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

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

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

.page-support__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.2; /* Slightly transparent to let background color show */
}

/* General Section Styles */
.page-support__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Dark Section Styles */
.page-support__dark-section {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}

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

/* Light Section Styles */
.page-support__light-bg {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

.page-support__light-bg .page-support__section-title,
.page-support__light-bg .page-support__section-description {
    color: #333333;
}

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

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

.page-support__channel-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-support__channel-card:hover {
    transform: translateY(-10px);
}

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

.page-support__channel-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: bold;
}

.page-support__channel-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
    color: #f0f0f0;
}

.page-support__channel-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #017439;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-support__channel-link:hover {
    background-color: #e0e0e0;
}

/* Guide Section */
.page-support__guide-section {
    padding: 60px 0;
    background-color: #f5f5f5; /* Light background for contrast */
    color: #333333;
}

.page-support__guide-section .page-support__section-title,
.page-support__guide-section .page-support__section-description {
    color: #333333;
}

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

.page-support__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #017439;
    margin-bottom: 15px;
    display: block;
}

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

.page-support__step-text {
    font-size: 1em;
    color: #555555;
}

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

.page-support__issue-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #333333;
}

.page-support__issue-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #017439;
    font-weight: bold;
}

.page-support__issue-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
    color: #555555;
}

.page-support__issue-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #017439;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
}

.page-support__issue-link:hover {
    background-color: #005a2e;
}

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

.page-support__commitment-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}