/* style/support.css */

/* Global styles for page-support scope */
.page-support {
    background-color: #08160F; /* Custom Background */
    color: #F2FFF6; /* Custom Text Main */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

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

.page-support__section {
    padding: 60px 0;
    text-align: center;
}

.page-support__section-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #F2FFF6; /* Custom Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-support__section-intro {
    font-size: 1.1em;
    color: #A7D9B8; /* Custom Text Secondary */
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: #08160F; /* Ensure consistent background */
}

.page-support__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Min size requirement */
}

.page-support__hero-content-wrapper {
    width: 100%;
    padding: 40px 0 80px 0;
    text-align: center;
}

.page-support__hero-title {
    font-size: clamp(2em, 4vw, 3.5em); /* H1 font size constraint */
    font-weight: 700;
    color: #F2FFF6; /* Custom Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__hero-description {
    font-size: 1.15em;
    color: #A7D9B8; /* Custom Text Secondary */
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* For mobile responsiveness */
    white-space: normal; /* For mobile button text wrapping */
    word-wrap: break-word; /* For mobile button text wrapping */
    margin: 10px; /* Spacing between buttons */
}

.page-support__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
    color: #F2FFF6; /* Custom Text Main for contrast */
    border: 2px solid transparent;
}

.page-support__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-support__btn-secondary {
    background: #11271B; /* Custom Card BG */
    color: #2AD16F; /* Green from button gradient for contrast */
    border: 2px solid #2E7A4E; /* Custom Border */
}

.page-support__btn-secondary:hover {
    background: #2E7A4E; /* Custom Border */
    color: #F2FFF6; /* Custom Text Main */
}

/* Why Us Section */
.page-support__why-us {
    background-color: #08160F; /* Custom Background */
    padding-bottom: 30px;
}

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

.page-support__feature-item {
    background-color: #11271B; /* Custom Card BG */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Custom Border */
}

.page-support__feature-title {
    font-size: 1.6em;
    color: #F2FFF6; /* Custom Text Main */
    margin-bottom: 15px;
}

.page-support__feature-description {
    color: #A7D9B8; /* Custom Text Secondary */
    font-size: 1em;
}

.page-support__section-image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Ensure content images are not too wide */
    margin: 40px auto 0 auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    min-height: 200px; /* Min size requirement */
}

/* FAQ Section */
.page-support__faq-section {
    background-color: #08160F; /* Custom Background */
}

.page-support__faq-list {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-support__faq-item {
    background-color: #11271B; /* Custom Card BG */
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #2E7A4E; /* Custom Border */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: #F2FFF6; /* Custom Text Main */
    cursor: pointer;
    background-color: #11271B; /* Custom Card BG */
    border-bottom: 1px solid #1E3A2A; /* Custom Divider */
    user-select: none;
    list-style: none; /* For <summary> */
}

.page-support__faq-question::-webkit-details-marker {
    display: none; /* For <summary> */
}

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #57E38D; /* Custom Glow */
    transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-support__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #A7D9B8; /* Custom Text Secondary */
    line-height: 1.6;
    max-height: 0; /* Managed by <details> or JS */
    overflow: hidden; /* Managed by <details> or JS */
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-support__faq-item[open] .page-support__faq-answer {
    max-height: 500px; /* A large enough value for content */
    padding-top: 15px;
}

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

/* Contact Channels Section */
.page-support__contact-channels {
    background-color: #08160F; /* Custom Background */
}

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

.page-support__contact-item {
    background-color: #11271B; /* Custom Card BG */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Custom Border */
}

.page-support__contact-title {
    font-size: 1.6em;
    color: #F2FFF6; /* Custom Text Main */
    margin-bottom: 15px;
}

.page-support__contact-description {
    color: #A7D9B8; /* Custom Text Secondary */
    margin-bottom: 20px;
    font-size: 1em;
}

.page-support__contact-info {
    color: #F2FFF6; /* Custom Text Main */
    font-size: 1.1em;
    font-weight: 600;
}

/* Responsibility & Security Section */
.page-support__responsibility-security {
    background-color: #08160F; /* Custom Background */
    padding-bottom: 30px;
}

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

.page-support__info-item {
    background-color: #11271B; /* Custom Card BG */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Custom Border */
}

.page-support__info-title {
    font-size: 1.6em;
    color: #F2FFF6; /* Custom Text Main */
    margin-bottom: 15px;
}

.page-support__info-description {
    color: #A7D9B8; /* Custom Text Secondary */
    font-size: 1em;
}

/* Final CTA Section */
.page-support__cta-final {
    background-color: #08160F; /* Custom Background */
    padding-top: 30px;
}

.page-support__cta-final-content {
    max-width: 900px;
    margin-bottom: 40px;
}

.page-support__cta-final-image {
    margin-top: 0; /* Adjust margin if needed */
}

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__section-title {
        font-size: 2.2em;
    }
    .page-support__hero-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
}

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

    .page-support__container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-support__section {
        padding: 40px 0;
    }

    .page-support__hero-section {
        padding-top: 10px !important;
    }

    .page-support__hero-content-wrapper {
        padding: 20px 0 40px 0;
    }

    .page-support__hero-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

    .page-support__hero-description {
        font-size: 1em;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary,
    .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;
        margin: 10px 0 !important;
    }

    .page-support__cta-buttons {
        flex-direction: column !important;
        gap: 10px;
    }

    .page-support__section-title {
        font-size: 2em;
    }

    .page-support__section-intro {
        font-size: 0.95em;
    }

    .page-support__features-grid,
    .page-support__contact-grid,
    .page-support__info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__feature-item,
    .page-support__contact-item,
    .page-support__info-item {
        padding: 25px;
    }

    /* Images responsiveness */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        min-height: 200px !important;
    }

    .page-support__hero-image-wrapper,
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__faq-list,
    .page-support__contact-grid,
    .page-support__info-grid,
    .page-support__cta-final-content,
    .page-support__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* FAQ specific adjustments for mobile */
    .page-support__faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }

    .page-support__faq-answer {
        padding: 0 20px 18px 20px;
    }
}