/* style/support.css */

/* Base styles for the page content, ensuring contrast with dark body background */
.page-support {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background from shared.css */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding: 100px 20px 60px; /* Adjust padding-top to account for fixed header */
    padding-top: var(--header-offset, 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* For image positioning */
    background: linear-gradient(135deg, #26A9E0, #1a7bbd); /* Brand primary color gradient */
}

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.2; /* Subtle background image */
}

.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative; /* Ensure content is above image */
    z-index: 1;
}

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

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

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

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-card {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box; /* Include padding in width calculation */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-support__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-support__btn-primary:hover {
    background-color: #d16b06;
    transform: translateY(-2px);
}

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

.page-support__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Content Sections */
.page-support__content-section {
    padding: 80px 0;
}

.page-support__dark-bg {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for sections on dark body */
    color: #ffffff;
}

.page-support__light-bg {
    background-color: rgba(255, 255, 255, 0.1); /* Lighter background for sections on dark body */
    color: #ffffff;
}

.page-support__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand primary color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-support__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Light text for readability */
    text-align: justify;
}

.page-support__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Grid Layout for Cards */
.page-support__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support__card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #ffffff; /* Ensure light text on card */
}

.page-support__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-support__card-text {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
    color: #f0f0f0;
}

.page-support__btn-card {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
    text-align: center;
    padding: 10px 20px;
    margin-top: auto; /* Align button to bottom */
}

.page-support__btn-card:hover {
    background-color: #1a7bbd;
    border-color: #1a7bbd;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 0;
}

.page-support__faq-list {
    margin-top: 40px;
}

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-support__faq-title {
    font-size: 1.25em;
    color: #26A9E0;
    margin: 0;
    font-weight: bold;
    flex-grow: 1;
}

.page-support__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg);
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: 15px 25px 20px;
}

.page-support__faq-text {
    margin: 0;
    font-size: 1.05em;
    line-height: 1.7;
}

/* Troubleshooting List */
.page-support__troubleshooting-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-support__list-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-support__list-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__list-text {
    font-size: 1.05em;
    line-height: 1.7;
    color: #f0f0f0;
}

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

.page-support__contact-card {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.08);
}

/* Updates Section */
.page-support__updates-section {
    padding: 80px 0;
}