/* style/support.css */

.page-support {
    font-family: 'Arial', sans-serif;
    color: #FFF1E8; /* Text Main */
    background-color: #140C0C; /* Background */
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure content doesn't stick to footer */
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Ensure image is above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 50px;
    overflow: hidden;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    max-height: 600px; /* Limit height for hero image */
    object-fit: cover; /* Cover the area, will be contain for mobile */
    display: block;
    margin-bottom: 30px; /* Space between image and content */
}

.page-support__hero-content {
    max-width: 800px;
    margin-top: -100px; /* Pull content up slightly over image for visual appeal, but not overlapping text */
    position: relative;
    z-index: 1;
    background: rgba(20, 12, 12, 0.7); /* Semi-transparent background for readability */
    padding: 30px;
    border-radius: 10px;
}

.page-support__hero-title {
    font-size: 3.2rem;
    color: #F3C54D; /* Gold */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.page-support__hero-description {
    font-size: 1.1rem;
    color: #FFF1E8;
    margin-bottom: 30px;
}

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

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__channel-link,
.page-support__faq-link,
.page-support__guide-button,
.page-support__policy-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-support__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button */
    color: #140C0C; /* Dark text for contrast on gold gradient */
    border: none;
}

.page-support__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-support__btn-secondary:hover {
    background: #F3C54D;
    color: #140C0C;
    transform: translateY(-2px);
}

/* Common Section Styles */
.page-support__section-title {
    font-size: 2.5rem;
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.03em;
}

.page-support__section-description {
    font-size: 1.05rem;
    color: #FFF1E8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Channels Section */
.page-support__channels-section,
.page-support__faq-section,
.page-support__guides-section,
.page-support__policies-section,
.page-support__commitment-section,
.page-support__cta-bottom-section {
    padding: 60px 0;
}

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

.page-support__channel-card {
    background-color: #2A1212; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #6A1E1E; /* Border */
    transition: transform 0.3s ease;
}

.page-support__channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-support__channel-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-support__channel-title {
    font-size: 1.6rem;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
}

.page-support__channel-text {
    font-size: 1rem;
    color: #FFF1E8;
    margin-bottom: 20px;
}

.page-support__channel-link {
    color: #FFB04A; /* Lighter gold for links */
    text-decoration: none;
    font-weight: bold;
}

.page-support__channel-link:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-support__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-support__faq-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-support__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFF1E8;
    list-style: none; /* Hide default marker */
}

.page-support__faq-item summary::-webkit-details-marker,
.page-support__faq-item summary::marker {
    display: none;
}

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

.page-support__faq-qtext {
    flex-grow: 1;
    color: #F3C54D; /* Gold */
}

.page-support__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    color: #F3C54D; /* Gold */
}

.page-support__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #FFF1E8;
    line-height: 1.8;
}

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

.page-support__faq-link {
    color: #FFB04A; /* Lighter gold for links */
    text-decoration: none;
    font-weight: bold;
}

.page-support__faq-link:hover {
    text-decoration: underline;
}

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

.page-support__guide-card {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-support__guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-support__guide-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-support__guide-card h3 {
    flex-grow: 1; /* Push button to bottom */
    padding: 20px 25px 10px 25px;
}

.page-support__guide-title {
    font-size: 1.4rem;
    line-height: 1.4;
}

.page-support__guide-title a {
    color: #F3C54D; /* Gold */
    text-decoration: none;
}

.page-support__guide-title a:hover {
    text-decoration: underline;
}

.page-support__guide-text {
    font-size: 0.95rem;
    color: #FFF1E8;
    padding: 0 25px 20px 25px;
}

.page-support__guide-button {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button */
    color: #140C0C; /* Dark text */
    border: none;
    margin: 0 25px 25px 25px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-support__guide-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}


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

.page-support__policy-card {
    background-color: #2A1212; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #6A1E1E; /* Border */
    transition: transform 0.3s ease;
}

.page-support__policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-support__policy-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.page-support__policy-title a {
    color: #F3C54D; /* Gold */
    text-decoration: none;
}

.page-support__policy-title a:hover {
    text-decoration: underline;
}

.page-support__policy-text {
    font-size: 1rem;
    color: #FFF1E8;
    margin-bottom: 20px;
}

.page-support__policy-link {
    color: #FFB04A; /* Lighter gold for links */
    text-decoration: none;
    font-weight: bold;
}

.page-support__policy-link:hover {
    text-decoration: underline;
}

/* Commitment Section */
.page-support__commitment-section {
    background-color: #C61F1F; /* Main Color */
    color: #ffffff; /* White text for contrast */
}

.page-support__commitment-section .page-support__section-title,
.page-support__commitment-section .page-support__section-description {
    color: #ffffff;
}

.page-support__commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-support__commitment-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2); /* Slightly transparent dark background */
    border-radius: 8px;
}

.page-support__commitment-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-support__commitment-title {
    font-size: 1.5rem;
    color: #F3C54D; /* Gold */
    margin-bottom: 10px;
}

.page-support__commitment-text {
    font-size: 0.95rem;
    color: #FFF1E8;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.8rem;
    }
    .page-support__section-title {
        font-size: 2.2rem;
    }
    .page-support__hero-content {
        margin-top: -80px;
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-support__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Hero Section */
    .page-support__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }

    .page-support__hero-image {
        max-height: 400px;
        object-fit: contain; /* For mobile, contain to avoid cropping important parts */
        aspect-ratio: unset;
    }

    .page-support__hero-content {
        margin-top: -50px;
        padding: 20px;
    }

    .page-support__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-support__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-support__hero-cta-group {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Limit button group width */
        margin: 0 auto;
    }

    /* Buttons */
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__channel-link,
    .page-support__faq-link,
    .page-support__guide-button,
    .page-support__policy-link {
        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;
    }

    /* Common Section Styles */
    .page-support__section-title {
        font-size: clamp(1.8rem, 6vw, 2rem);
        margin-bottom: 15px;
    }

    .page-support__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-support__channels-section,
    .page-support__faq-section,
    .page-support__guides-section,
    .page-support__policies-section,
    .page-support__commitment-section,
    .page-support__cta-bottom-section {
        padding: 40px 0;
    }

    /* Channels Grid */
    .page-support__channels-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }

    /* FAQ Section */
    .page-support__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    .page-support__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }

    /* Guides Grid */
    .page-support__guides-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }

    .page-support__guide-image {
        height: 200px; /* Smaller image height for mobile */
    }

    /* Policies Grid */
    .page-support__policies-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }

    /* Commitment Grid */
    .page-support__commitment-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }

    /* General image and container responsiveness */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__channel-card,
    .page-support__guide-card,
    .page-support__policy-card,
    .page-support__commitment-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Specific overrides for padding on cards/items that already have it */
    .page-support__channel-card,
    .page-support__guide-card,
    .page-support__policy-card,
    .page-support__commitment-item {
        padding: 20px; /* Adjust padding for mobile */
    }
    .page-support__guide-card h3 {
        padding: 15px 20px 10px 20px;
    }
    .page-support__guide-text {
        padding: 0 20px 15px 20px;
    }
    .page-support__guide-button {
        margin: 0 20px 20px 20px;
    }
}