/* style/support.css */

/* Base styles for the support page content */
.page-support {
    color: #ffffff; /* Light text for dark body background */
    background-color: #111111; /* Inherited from body, but good to be explicit for contrast */
    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__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-support__hero-section {
    background-color: #26A9E0; /* Brand primary color for hero */
    padding: 80px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-support__hero-section .page-support__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.page-support__hero-content {
    flex: 1;
    text-align: left;
}

.page-support__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

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

.page-support__hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-support__hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: block; /* Important for responsive images */
}

.page-support__cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensure padding and border are included in width */
}

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

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

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

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

/* Section Common Styles */
.page-support__light-bg {
    background-color: #FFFFFF; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

.page-support__dark-bg {
    background-color: #1a1a1a; /* Slightly lighter dark background for sections */
    color: #ffffff; /* Light text for dark background */
    padding: 60px 0;
}

.page-support__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: inherit; /* Inherit color from parent section */
}

.page-support__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: inherit; /* Inherit color from parent section */
}

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

.page-support__channel-card {
    background-color: #f5f5f5; /* Light background for cards in light sections */
    color: #333333; /* Dark text for light card background */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__channel-card img {
    max-width: 100%; /* Ensure images are responsive within cards */
    height: auto;
    margin-bottom: 20px;
    border-radius: 4px;
    display: block;
}

.page-support__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for titles */
}

.page-support__card-text {
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to grow */
}

/* FAQ Section */
.page-support__faq-list {
    margin-top: 40px;
}

.page-support__faq-item {
    background-color: #2a2a2a; /* Darker background for FAQ items in dark section */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #2a2a2a;
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: #3a3a3a;
}

.page-support__faq-title {
    margin: 0;
    color: inherit;
    flex-grow: 1;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0; /* Brand color for toggle icon */
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #333333; /* Slightly different background for answer */
    color: #f0f0f0;
}

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

.page-support__faq-answer p {
    margin-top: 0;
    margin-bottom: 10px;
    color: inherit;
}

.page-support__more-faq-cta {
    text-align: center;
    margin-top: 40px;
}

/* Guides & Resources Section */
.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: #f5f5f5; /* Light background for cards */
    color: #333333; /* Dark text for light card background */
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-support__resource-card img {
    max-width: 100%; /* Ensure images are responsive within cards */
    height: auto;
    margin-bottom: 20px;
    border-radius: 4px;
    display: block;
}

/* Video Tutorial Section */
.page-support__video-tutorial-section {
    padding: 60px 0;
    text-align: center;
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff; /* Light text */
}