/* style/support.css */
/* Base styles for the page-support scope */
.page-support {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F2FFF6); /* Main text color */
    background-color: var(--background, #08160F); /* Page background */
}

/* Section styling */
.page-support__section {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-support__hero-section {
    display: flex;
    flex-direction: column; /* Default to column for mobile first, then row for desktop */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--background, #08160F);
    color: var(--text-main, #F2FFF6);
}

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

.page-support__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Use clamp for H1 font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.4); /* Glow effect */
}

.page-support__hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary, #A7D9B8);
}

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

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-support__section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-main, #F2FFF6);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.page-support__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--glow, #57E38D); /* Glow color */
    border-radius: 2px;
}

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

.page-support__card {
    background-color: var(--card-bg, #11271B); /* Card background */
    border: 1px solid var(--border, #2E7A4E); /* Border color */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-main, #F2FFF6);
}

.page-support__card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 15px;
}

.page-support__card p {
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 20px;
    flex-grow: 1; /* Allow paragraph to take available space */
}

.page-support__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button doesn't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-support__btn-primary {
    background: var(--button-gradient, linear-gradient(180deg, #2AD16F 0%, #13994A 100%)); /* Button gradient */
    color: #ffffff; /* White text for primary button */
    border: none;
}

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

.page-support__btn-secondary {
    background-color: transparent;
    color: var(--gold, #F2C14E); /* Gold text for secondary button */
    border: 2px solid var(--gold, #F2C14E); /* Gold border */
}

.page-support__btn-secondary:hover {
    background-color: var(--gold, #F2C14E);
    color: #11271B; /* Dark text on hover */
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* FAQ Section */
.page-support__faq-section {
    background-color: var(--deep-green, #0A4B2C); /* Deep green background for FAQ */
    padding: 80px 20px;
}

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

.page-support__faq-item {
    background-color: var(--card-bg, #11271B);
    border: 1px solid var(--border, #2E7A4E);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main, #F2FFF6);
}

.page-support__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* Hide default marker */
    color: var(--text-main, #F2FFF6);
    outline: none;
}

.page-support__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for Webkit */
}

.page-support__faq-question {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.page-support__faq-qtext {
    margin-right: 15px;
}

.page-support__faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    color: var(--gold, #F2C14E); /* Gold color for toggle icon */
    transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-support__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8);
}

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

.page-support__cta-block {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
}

/* Video Section */
.page-support__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding */
    background-color: var(--background, #08160F);
    color: var(--text-main, #F2FFF6);
    text-align: center;
}

.page-support__video-description {
    font-size: 1.1rem;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 30px;
    max-width: 800px;
}

.page-support__video-wrapper {
    width: 100%; /* Desktop width: 100% */
    max-width: 1000px; /* Max width for video container */
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-support__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer; /* Indicate it's clickable */
}

.page-support__video-cta {
    margin-top: 20px;
}

/* Contact CTA Section */
.page-support__contact-cta {
    background-color: var(--background, #08160F);
    padding: 80px 20px;
    text-align: center;
}

.page-support__contact-card {
    background-color: var(--card-bg, #11271B);
    border: 1px solid var(--border, #2E7A4E);
    border-radius: 15px;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Default to column */
    align-items: center;
    padding: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.page-support__contact-image {
    width: 100%;
    max-width: 400px; /* Max width for image */
    height: auto;
    display: block;
    border-radius: 10px;
    margin-bottom: 30px;
}

.page-support__contact-content {
    text-align: center;
    color: var(--text-main, #F2FFF6);
}

.page-support__contact-content .page-support__section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-main, #F2FFF6);
}
.page-support__contact-content .page-support__section-title::after {
    display: none; /* Hide underline for this title */
}


.page-support__contact-content p {
    font-size: 1.1rem;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .page-support__hero-section {
        flex-direction: column; /* Keep column for consistency with image above text rule */
        padding-top: 80px;
    }
    .page-support__hero-content {
        margin-bottom: 60px;
    }
    .page-support__main-title {
        font-size: clamp(3rem, 5vw, 4.5rem);
    }
    .page-support__hero-description {
        font-size: 1.2rem;
    }
    .page-support__content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .page-support__contact-card {
        flex-direction: row;
        text-align: left;
        padding: 50px;
    }
    .page-support__contact-image {
        max-width: 300px;
        margin-right: 40px;
        margin-bottom: 0;
    }
    .page-support__contact-content {
        text-align: left;
    }
    .page-support__contact-content .page-support__section-title {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .page-support__hero-section {
        padding-top: 100px;
        padding-bottom: 80px;
    }
    .page-support__hero-content {
        max-width: 1000px;
    }
    .page-support__section-title {
        font-size: 3rem;
    }
}

/* Mobile responsive overrides (MUST use !important for images, videos, buttons and containers) */
@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-support__section {
        padding: 40px 15px; /* Adjust padding for mobile */
    }

    .page-support__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* Small top padding, body handles header offset */
    }

    .page-support__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem); /* Adjust H1 for smaller screens */
    }

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

    .page-support__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-support__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .page-support__content-grid {
        grid-template-columns: 1fr; /* Single column for cards */
        gap: 20px;
    }

    .page-support__card {
        padding: 25px;
    }

    .page-support__card-title {
        font-size: 1.4rem;
    }

    /* Buttons */
    .page-support__button,
    .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;
        padding-left: 15px; /* Add padding to prevent text touching edges */
        padding-right: 15px;
    }

    .page-support__cta-block {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Ensure cta block doesn't overflow */
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* FAQ Section */
    .page-support__faq-section {
        padding: 50px 15px;
    }

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

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

    /* Video Section */
    .page-support__video-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles header offset */
    }

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

    .page-support__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0; /* No extra padding on wrapper if section has it */
        padding-right: 0;
    }

    .page-support__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-support__video-cta {
        margin-top: 15px;
    }

    /* Contact CTA Section */
    .page-support__contact-cta {
        padding: 50px 15px;
    }

    .page-support__contact-card {
        padding: 30px;
    }

    .page-support__contact-image {
        margin-bottom: 20px;
    }

    .page-support__contact-content .page-support__section-title {
        font-size: 1.8rem;
    }

    .page-support__contact-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* Ensure all image containers are responsive */
    .page-support__hero-image-wrapper,
    .page-support__contact-image,
    .page-support__container,
    .page-support__card,
    .page-support__section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding handled by section/card directly */
    }
}