/* style/support.css */

/* --- General Styles for .page-support --- */
.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #ffffff); /* Inherit from shared or default to white */
}

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

.page-support__section-title {
    font-size: clamp(28px, 4vw, 42px); /* Responsive H2 font size */
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-support__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

/* --- Buttons --- */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

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

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

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

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

/* --- Hero Section --- */
.page-support__hero-section {
    position: relative;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #26A9E0; /* Dark background for hero */
    color: #ffffff; /* Light text for dark background */
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-support__main-title {
    font-size: clamp(36px, 5vw, 56px); /* Responsive H1 font size */
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: bold;
}

.page-support__description {
    font-size: 20px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-support__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 15px;
    justify-content: center;
}

/* --- FAQ Section --- */
.page-support__faq-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background */
    color: #333333; /* Dark text */
}

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

.page-support__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-support__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #26A9E0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f0f8ff; /* Light blue background for questions */
    transition: background-color 0.3s ease;
}

.page-support__faq-item summary:hover {
    background-color: #e6f7ff;
}

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

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

.page-support__faq-toggle {
    font-size: 24px;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #26A9E0;
    border-radius: 50%;
    color: #26A9E0;
    background-color: #ffffff;
}

.page-support__faq-item[open] .page-support__faq-toggle {
    content: '−'; /* Changed by JS for better control, but CSS fallback */
}

.page-support__faq-answer {
    padding: 20px;
    font-size: 16px;
    color: #555555;
    border-top: 1px solid #e0e0e0;
}

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

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

.page-support__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
}

/* --- Contact Section --- */
.page-support__contact-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Brand color dark background */
    color: #ffffff; /* Light text */
    text-align: center;
}

.page-support__contact-section .page-support__section-title {
    color: #ffffff;
}

.page-support__contact-section .page-support__section-description {
    color: #f0f0f0;
}

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

.page-support__contact-card {
    background-color: #ffffff; /* Light background for cards */
    color: #333333; /* Dark text for cards */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-support__contact-icon {
    width: 100%; /* Ensure responsiveness */
    height: auto;
    max-width: 150px; /* Max size for icon-like images */
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 5px;
}

.page-support__card-title {
    font-size: 24px;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__card-description {
    font-size: 16px;
    margin-bottom: 25px;
    color: #555555;
}

/* --- Guides Section --- */
.page-support__guides-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background */
    color: #333333; /* Dark text */
}

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

.page-support__guide-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-support__guide-card:hover {
    transform: translateY(-5px);
}

.page-support__guide-title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__guide-title a {
    color: #26A9E0;
    text-decoration: none;
}

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

.page-support__guide-text {
    font-size: 16px;
    color: #555555;
}

/* --- Policies Section --- */
.page-support__policies-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Brand color dark background */
    color: #ffffff; /* Light text */
    text-align: center;
}

.page-support__policies-section .page-support__section-title {
    color: #ffffff;
}

.page-support__policies-section .page-support__section-description {
    color: #f0f0f0;
}

.page-support__policy-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-support__policy-link {
    display: inline-block;
    background-color: #ffffff;
    color: #26A9E0;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-support__policy-link:hover {
    background-color: #e0f2f7;
    color: #26A9E0;
}

/* --- About Section --- */
.page-support__about-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background */
    color: #333333; /* Dark text */
    text-align: center;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-support__hero-section {
        padding: 40px 20px;
        padding-top: 10px;
    }

    .page-support__main-title {
        font-size: clamp(32px, 4.5vw, 48px);
    }

    .page-support__description {
        font-size: 18px;
    }

    .page-support__section-title {
        font-size: clamp(26px, 3.5vw, 38px);
    }
}

@media (max-width: 768px) {
    /* Mobile-specific overrides for images, videos, buttons */
    /* Images */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Image containers */
    .page-support__hero-image-wrapper,
    .page-support__contact-card,
    .page-support__guide-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px; /* Add padding to prevent content touching edges */
        padding-right: 15px;
    }

    /* Video (if any, though not in this specific page content) */
    .page-support video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__video-section,
    .page-support__video-container,
    .page-support__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-support__video-section {
        padding-top: 10px !important; /* Small top padding for mobile */
    }

    /* Buttons */
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__policy-link,
    .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;
    }
    
    /* Button containers */
    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container,
    .page-support__policy-links {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important; /* Adjust gap for stacked buttons */
        overflow: hidden !important;
    }

    .page-support__hero-section {
        padding: 30px 0; /* Remove horizontal padding, container handles it */
        padding-top: 10px;
    }

    .page-support__main-title {
        font-size: clamp(28px, 8vw, 40px);
    }

    .page-support__description {
        font-size: 16px;
    }

    .page-support__section-title {
        font-size: clamp(24px, 7vw, 36px);
    }

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

    .page-support__faq-section,
    .page-support__contact-section,
    .page-support__guides-section,
    .page-support__policies-section,
    .page-support__about-section {
        padding: 50px 0;
    }

    .page-support__contact-methods {
        grid-template-columns: 1fr; /* Stack contact cards */
    }

    .page-support__guide-list {
        grid-template-columns: 1fr; /* Stack guide cards */
    }
}

@media (max-width: 480px) {
    .page-support__main-title {
        font-size: clamp(24px, 9vw, 32px);
    }
    .page-support__section-title {
        font-size: clamp(22px, 8vw, 30px);
    }
    .page-support__faq-item summary {
        font-size: 16px;
        padding: 15px;
    }
    .page-support__faq-answer {
        font-size: 15px;
        padding: 15px;
    }
}