/* style/support.css */

/* Variables and general styles for page-support */
.page-support {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Light text for dark body background */
    line-height: 1.6;
    background-color: transparent; /* Body handles the background */
}

/* Section spacing and container */
.page-support__section {
    padding: 60px 0;
    position: relative;
}

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

.page-support__container--center {
    text-align: center;
}

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

.page-support__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    border-radius: 10px;
}

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

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

.page-support__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-support__hero-description {
    font-size: 1.15rem;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Titles */
.page-support__section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: #26A9E0; /* Brand primary color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.page-support__text-block {
    font-size: 1rem;
    color: #f0f0f0;
    margin-bottom: 20px;
    text-align: justify;
}

/* Buttons */
.page-support__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link,
.page-support__btn-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal;
    word-wrap: break-word;
}

.page-support__btn-primary {
    background: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

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

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

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

.page-support__btn-link {
    background: transparent;
    color: #26A9E0;
    border: 1px solid #26A9E0;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-support__btn-link:hover {
    background: #26A9E0;
    color: #FFFFFF;
}

.page-support__btn-inline {
    display: inline-block;
    background: #EA7C07; /* Login color for inline CTA */
    color: #FFFFFF;
    border: 1px solid #EA7C07;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-top: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-support__btn-inline:hover {
    background: #d46f06;
    border-color: #d46f06;
}

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

.page-support__channel-card {
    background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__channel-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-support__channel-title {
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-support__channel-description {
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

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

.page-support__faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

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

.page-support__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
}

.page-support__faq-item[open] .page-support__faq-toggle {
    content: '−';
}

.page-support__faq-answer {
    padding: 0 20px 20px;
    font-size: 1rem;
    color: #e0e0e0;
}

.page-support__faq-item:not([open]) .page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-support__faq-item[open] .page-support__faq-answer {
    max-height: fit-content; /* Allow content to dictate height */
    transition: max-height 0.3s ease-in;
}

.page-support__faq-answer p {
    margin-bottom: 10px;
    color: #e0e0e0;
}

/* Commitment Section */
.page-support__commitment-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__commitment-list li {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #26A9E0;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1rem;
    color: #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__commitment-list li strong {
    color: #FFFFFF;
}

.page-support__commitment-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-support__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-support__hero-description {
        font-size: 1.1rem;
    }
    .page-support__section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-support__section {
        padding: 40px 0;
    }
    .page-support__container {
        padding: 0 15px;
    }
    .page-support__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* body already handles header offset */
    }
    .page-support__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-support__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-link,
    .page-support__btn-inline {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Images responsiveness */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__hero-image-wrapper,
    .page-support__channel-card,
    .page-support__commitment-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    .page-support__channel-icon {
        max-width: 120px; /* Adjust icon size for mobile */
    }
    
    .page-support__channel-grid {
        grid-template-columns: 1fr;
    }
    .page-support__channel-card {
        padding: 20px;
    }
    .page-support__faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    .page-support__faq-answer {
        padding: 0 15px 15px;
        font-size: 0.95rem;
    }
    .page-support__commitment-list li {
        font-size: 0.95rem;
        padding: 12px 15px;
    }
}

/* Ensure no filter on images */
.page-support img {
    filter: none !important;
}

/* For details/summary native behavior, hide default marker */
.page-support__faq-item summary {
    list-style: none;
}
.page-support__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-support__faq-item summary::marker {
    display: none;
}