/* style/support.css */
:root {
    --primary-color: #1A202C;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f9f9f9;
    --bg-dark: #1A202C;
    --border-color: #e0e0e0;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --button-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--bg-light); /* Default light background for the page */
    padding-top: 120px; /* Desktop fixed nav spacing */
}

@media (max-width: 768px) {
    .page-support {
        padding-top: 100px; /* Mobile fixed nav spacing */
    }
}

.page-support__highlight {
    color: var(--primary-color);
    font-weight: bold;
}

.page-support__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-support__section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 18px;
    color: var(--text-dark);
}

/* Hero Banner Section */
.page-support__hero-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background-color: var(--bg-light);
}

.page-support__hero-content-wrapper {
    max-width: 900px;
    margin: 0 auto 40px auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    background-color: var(--text-light);
    color: var(--text-dark);
}

.page-support__hero-banner h1 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.page-support__hero-banner p {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.page-support__hero-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.page-support__hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.page-support__cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), #FFC107);
    color: var(--text-dark);
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    border: none;
}

.page-support__cta-button:hover {
    background: linear-gradient(135deg, #FFC107, var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

/* Channels Section */
.page-support__channels-section {
    padding: 80px 20px;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-support__channels-section .page-support__section-title {
    color: var(--secondary-color);
}

.page-support__channels-section .page-support__section-description {
    color: var(--text-light);
}

.page-support__channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-support__channel-card {
    background-color: var(--text-light);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__channel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.page-support__channel-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-support__channel-card p {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.page-support__channel-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-support__channel-button:hover {
    background-color: #3f4a60;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.page-support__faq-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 18px;
    color: var(--text-dark);
}

.page-support__faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-support__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 2000px !important; /* Sufficiently large for content */
    padding: 20px !important;
    opacity: 1;
    background: #f0f0f0;
    border-radius: 0 0 8px 8px;
    color: var(--text-dark);
}

.page-support__faq-answer p {
    margin-bottom: 0;
}

.page-support__faq-answer a {
    color: #0066cc;
    text-decoration: underline;
}

.page-support__faq-answer a:hover {
    color: #004499;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-support__faq-item.active .page-support__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: #d0d0d0;
}

.page-support__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-support__faq-question:active {
    background: #eeeeee;
}

.page-support__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none; /* Allow click on entire question div */
}

.page-support__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none; /* Allow click on entire question div */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-support__faq-item.active .page-support__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(180deg); /* Rotate for minus sign if desired */
}

/* Guides Section */
.page-support__guides-section {
    padding: 80px 20px;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-support__guides-section .page-support__section-title {
    color: var(--secondary-color);
}

.page-support__guides-section .page-support__section-description {
    color: var(--text-light);
}

.page-support__guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-support__guide-card {
    background-color: var(--text-light);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-support__guide-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-support__guide-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-support__guide-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__guide-card h3 a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-support__guide-card p {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.page-support__guide-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-support__guide-button:hover {
    background-color: #FFC107;
    transform: translateY(-2px);
}

/* Contact Form Section */
.page-support__contact-form-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.page-support__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--text-light);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.page-support__form-group {
    margin-bottom: 25px;
}

.page-support__form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-support__form-group input,
.page-support__form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    color: var(--text-dark);
    background-color: #fcfcfc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-support__form-group input::placeholder,
.page-support__form-group textarea::placeholder {
    color: #888;
}

.page-support__form-group input:focus,
.page-support__form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    outline: none;
}

.page-support__form-group textarea {
    resize: vertical;
}

.page-support__submit-button {
    display: block;
    width: 100%;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 18px 30px;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: var(--button-shadow);
}

.page-support__submit-button:hover {
    background-color: #3f4a60;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-banner h1 {
        font-size: 40px;
    }
    .page-support__section-title {
        font-size: 30px;
    }
    .page-support__hero-banner p,
    .page-support__section-description,
    .page-support__faq-intro {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-support__hero-banner {
        padding: 40px 15px;
    }
    .page-support__hero-banner h1 {
        font-size: 32px;
    }
    .page-support__hero-banner p {
        font-size: 16px;
    }
    .page-support__cta-button {
        padding: 15px 30px;
        font-size: 18px;
    }
    .page-support__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-support__section-description,
    .page-support__faq-intro {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-support__channels-section,
    .page-support__faq-section,
    .page-support__guides-section,
    .page-support__contact-form-section {
        padding: 50px 15px;
    }
    .page-support__channel-card,
    .page-support__guide-card {
        padding: 25px;
    }
    .page-support__channel-icon {
        width: 120px;
        height: 120px;
    }
    .page-support__channel-card h3,
    .page-support__guide-card h3 {
        font-size: 20px;
    }
    .page-support__channel-card p,
    .page-support__guide-card p {
        font-size: 15px;
    }
    .page-support__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-support__faq-question h3 {
        font-size: 16px;
        width: calc(100% - 40px);
    }
    .page-support__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    .page-support__faq-answer {
        padding: 0 15px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px !important;
    }
    .page-support__contact-form {
        padding: 30px;
    }
    .page-support__form-group label {
        font-size: 15px;
    }
    .page-support__form-group input,
    .page-support__form-group textarea {
        padding: 12px;
        font-size: 15px;
    }
    .page-support__submit-button {
        padding: 15px 25px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .page-support__hero-banner h1 {
        font-size: 28px;
    }
    .page-support__section-title {
        font-size: 24px;
    }
    .page-support__cta-button {
        font-size: 16px;
        padding: 12px 25px;
    }
    .page-support__channels-grid,
    .page-support__guides-grid {
        grid-template-columns: 1fr;
    }
    .page-support__channel-icon {
        width: 100px;
        height: 100px;
    }
    .page-support__faq-question h3 {
        font-size: 15px;
    }
    .page-support__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    .page-support__submit-button {
        font-size: 16px;
        padding: 12px 20px;
    }
}