/* style/support.css */
/* General styles for the page-support scope */
.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F3F8FF; /* Text Main on dark background */
    background-color: var(--card-bg, #10233F); /* Default to Card BG if var not set */
}

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

.page-support__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-support__section-description {
    font-size: 18px;
    color: #AFC4E8; /* Text Secondary */
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__channel-button,
.page-support__faq-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-support__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-support__btn-secondary {
    background: transparent;
    color: #F2C14E; /* Gold */
    border: 2px solid #F2C14E; /* Gold */
}

.page-support__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 40px;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-support__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 15px;
}

.page-support__hero-title {
    font-size: clamp(32px, 4.5vw, 56px); /* Using clamp for responsive H1 */
    font-weight: 800;
    color: #F3F8FF; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.page-support__hero-description {
    font-size: 20px;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 40px;
}

.page-support__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 500px; /* Limit width for button group */
    margin: 0 auto;
}

/* Intro Section */
.page-support__intro-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Channels Section */
.page-support__channels-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #08162B; /* Deep Navy for contrast */
}

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

.page-support__channel-card {
    background-color: #10233F; /* Card BG */
    border: 1px solid #244D84; /* Border */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support__channel-icon {
    width: 200px; /* Minimum size */
    height: 150px; /* Minimum size */
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}

.page-support__channel-title {
    font-size: 24px;
    font-weight: 700;
    color: #F3F8FF; /* Text Main */
    margin-bottom: 15px;
}

.page-support__channel-text {
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 25px;
    flex-grow: 1; /* Allow text to take available space */
}

.page-support__channel-button {
    margin-top: auto; /* Push button to bottom */
    width: 100%; /* Ensure button takes full width of card */
}

/* Guide Section */
.page-support__guide-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-support__guide-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.page-support__guide-item {
    background-color: #10233F; /* Card BG */
    border: 1px solid #244D84; /* Border */
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-support__guide-item:last-child {
    margin-bottom: 0;
}

.page-support__guide-item:hover {
    transform: translateY(-3px);
}

.page-support__guide-item-title {
    font-size: 22px;
    font-weight: 700;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
}

.page-support__guide-item-text {
    font-size: 17px;
    color: #AFC4E8; /* Text Secondary */
}

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

/* FAQ Section */
.page-support__faq-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #08162B; /* Deep Navy */
}

details.page-support__faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #244D84; /* Border */
    overflow: hidden;
    background: #10233F; /* Card BG */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
details.page-support__faq-item summary.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    color: #F3F8FF; /* Text Main */
}
details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
    display: none;
}
details.page-support__faq-item summary.page-support__faq-question:hover {
    background: rgba(242, 193, 78, 0.05); /* Light hover effect */
    transform: translateY(-2px);
}
.page-support__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #F3F8FF; /* Text Main */
}
.page-support__faq-toggle {
    font-size: 28px; /* Larger toggle for visibility */
    font-weight: bold;
    color: #F2C14E; /* Gold */
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}
details.page-support__faq-item .page-support__faq-answer {
    padding: 0 25px 25px;
    background: #08162B; /* Deep Navy for answer background */
    border-radius: 0 0 12px 12px;
    color: #AFC4E8; /* Text Secondary */
}
.page-support__faq-answer p {
    margin-bottom: 15px;
    font-size: 16px;
}
.page-support__faq-button {
    margin-top: 10px;
}

/* CTA Section */
.page-support__cta-section {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

.page-support__dark-section {
    background-color: #113B7A; /* Main color */
    color: #F3F8FF; /* Text Main */
}

.page-support__cta-title {
    font-size: 40px;
    font-weight: 800;
    color: #F2C14E; /* Gold */
    margin-bottom: 25px;
}

.page-support__cta-description {
    font-size: 20px;
    color: #F3F8FF; /* Text Main */
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-support__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* General image responsive style */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: clamp(30px, 4vw, 50px);
    }
    .page-support__section-title {
        font-size: 32px;
    }
    .page-support__section-description {
        font-size: 17px;
    }
    .page-support__channels-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-support__cta-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    /* 1. Top Section Padding */
    .page-support__hero-section {
        padding-top: 10px;
        padding-bottom: 40px;
    }

    /* 2. Two-column layouts to single column */
    .page-support__channels-grid {
        grid-template-columns: 1fr;
    }

    /* 3. General image and container responsiveness */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-support__hero-image-wrapper {
        margin-bottom: 30px;
    }
    .page-support__channel-icon {
        width: 150px;
        height: 100px;
    }
    .page-support__container,
    .page-support__hero-content,
    .page-support__hero-buttons,
    .page-support__channels-section,
    .page-support__guide-section,
    .page-support__faq-section,
    .page-support__cta-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 4. Buttons responsiveness */
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__channel-button,
    .page-support__faq-button,
    .page-support a[class*="button"],
    .page-support a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 16px;
    }
    .page-support__hero-buttons,
    .page-support__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Text adjustments */
    .page-support__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-support__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-support__hero-title {
        font-size: 32px;
    }
    .page-support__hero-description {
        font-size: 17px;
    }
    .page-support__channel-title {
        font-size: 20px;
    }
    .page-support__guide-item-title {
        font-size: 19px;
    }
    .page-support__faq-qtext {
        font-size: 16px;
    }
    .page-support__faq-toggle {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
    details.page-support__faq-item summary.page-support__faq-question {
        padding: 15px 20px;
    }
    details.page-support__faq-item .page-support__faq-answer {
        padding: 0 20px 20px;
    }
    .page-support__cta-title {
        font-size: 30px;
    }
    .page-support__cta-description {
        font-size: 17px;
    }
    .page-support__intro-section,
    .page-support__channels-section,
    .page-support__guide-section,
    .page-support__faq-section,
    .page-support__cta-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}