/* style/support.css */

/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark background */
    background-color: var(--dark-bg-1); /* Inherited from shared, assuming dark */
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    text-align: center;
    background-color: #017439; /* Use brand primary color for hero background */
    overflow: hidden;
}

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 0;
}

.page-support__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: #ffffff; /* Light text on dark/colored background */
}

.page-support__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFF00; /* Use specific yellow for titles as per custom color rule */
    font-weight: bold;
}

.page-support__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.page-support__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* For responsive buttons */
    box-sizing: border-box; /* For responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-support__btn-primary {
    background-color: #C30808; /* Red for login/register as per custom color */
    color: #FFFF00; /* Yellow font for login/register as per custom color */
    border: 2px solid #C30808;
}

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

.page-support__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Yellow font for login/register as per custom color */
    border: 2px solid #FFFF00;
}

.page-support__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
}

/* General Section Styles */
.page-support__info-section,
.page-support__faq-section,
.page-support__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-support__contact-channels {
    padding: 80px 0;
    text-align: center;
    background-color: #FFFFFF; /* Light background for this section */
    color: #333333; /* Dark text for light background */
}

.page-support__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__section-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

/* Color contrast adjustments for sections */
.page-support__dark-bg .page-support__section-title,
.page-support__dark-bg .page-support__section-description {
    color: #ffffff;
}

.page-support__light-bg .page-support__section-title,
.page-support__light-bg .page-support__section-description,
.page-support__light-bg h3,
.page-support__light-bg p {
    color: #333333;
}

/* Features Grid (Why Choose) */
.page-support__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-support__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Highlight with yellow */
}

.page-support__feature-text {
    font-size: 1em;
}

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

.page-support__channel-card {
    background-color: #f8f8f8; /* Slightly off-white for cards on white background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333; /* Dark text for light card background */
}

.page-support__channel-icon {
    width: 100%; /* Ensure full width */
    height: auto; /* Maintain aspect ratio */
    max-width: 250px; /* Limit icon size */
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-support__channel-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #017439; /* Brand primary for titles */
}

.page-support__channel-text {
    font-size: 1em;
    margin-bottom: 20px;
}

.page-support__email-link,
.page-support__phone-link {
    color: #017439;
    text-decoration: underline;
}
.page-support__email-link:hover,
.page-support__phone-link:hover {
    color: #00562e;
}


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

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Darker background for FAQ items */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15); /* Slightly lighter for question header */
    transition: background-color 0.3s ease;
}

.page-support__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #FFFF00; /* Highlight FAQ questions */
}

.page-support__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFFF00;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Plus to X/minus */
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05); /* Even darker for answer body */
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 15px 25px 20px 25px;
}

.page-support__faq-answer p {
    margin: 0;
    font-size: 1em;
    color: #f0f0f0; /* Slightly off-white for body text */
}

/* Call to Action Section */
.page-support__cta-section {
    position: relative;
    background-color: #017439; /* Brand primary color */
    padding: 100px 0;
    overflow: hidden;
}

.page-support__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.page-support__cta-section .page-support__container {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.page-support__cta-section .page-support__section-title {
    color: #FFFF00;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.8em;
    }

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

@media (max-width: 768px) {
    .page-support__hero-section {
        min-height: 500px;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }

    .page-support__hero-title {
        font-size: 2.2em;
    }

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

    .page-support__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-support__info-section,
    .page-support__contact-channels,
    .page-support__faq-section,
    .page-support__cta-section {
        padding: 50px 0;
    }

    .page-support__container {
        padding: 0 15px; /* Add padding to prevent content from touching edges */
    }

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

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

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

    .page-support__feature-card,
    .page-support__channel-card {
        padding: 25px;
    }

    .page-support__channel-icon {
        max-width: 200px;
    }

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

    .page-support__faq-question h3 {
        font-size: 1.1em;
    }

    .page-support__faq-toggle {
        font-size: 1.5em;
    }

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

    .page-support__faq-item.active .page-support__faq-answer {
        padding: 10px 20px 15px 20px;
    }

    /* Images responsive */
    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Image containers responsive */
    .page-support__hero-section,
    .page-support__info-section,
    .page-support__contact-channels,
    .page-support__faq-section,
    .page-support__cta-section,
    .page-support__features-grid,
    .page-support__channels-grid,
    .page-support__feature-card,
    .page-support__channel-card,
    .page-support__faq-list,
    .page-support__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding handled by .page-support__container */
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    .page-support__hero-content,
    .page-support__cta-section .page-support__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}