/* style/support.css */

/* Base styles for the support page content */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
    padding-bottom: 60px; /* Add some padding before the footer */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-support__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    display: block;
}

.page-support__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
}

.page-support__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__faq-link,
.page-support__btn-text-link {
    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;
    box-sizing: border-box;
}

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

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

.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;
}

.page-support__faq-link,
.page-support__btn-text-link {
    color: #26A9E0;
    text-decoration: underline;
    padding: 0;
    border: none;
    background: none;
    font-weight: normal;
}

.page-support__faq-link:hover,
.page-support__btn-text-link:hover {
    color: #1e87bb;
    text-decoration: none;
}

/* General Section Styling */
.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-support__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

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

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 0;
}

.page-support__dark-bg {
    background-color: #1a1a2e;
    color: #ffffff;
}

.page-support__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-support__light-bg .page-support__section-title,
.page-support__light-bg .page-support__section-description,
.page-support__light-bg .page-support__resource-title a {
    color: #333333;
}
.page-support__light-bg .page-support__resource-text {
    color: #555555;
}


.page-support__faq-list {
    margin-top: 30px;
}

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.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.08);
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.page-support__faq-heading {
    font-size: 1.2em;
    color: #ffffff;
    margin: 0;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg);
    color: #ffffff;
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #f0f0f0;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important;
    padding: 15px 25px 25px 25px;
}

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

/* Contact Methods Section */
.page-support__contact-methods-section {
    padding: 60px 0;
    background-color: #26A9E0;
    color: #ffffff;
}

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

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

.page-support__contact-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__contact-icon {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 3px solid #ffffff;
}

.page-support__card-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-support__card-text {
    color: #f0f0f0;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Resources Section */
.page-support__resources-section {
    padding: 60px 0;
}

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

.page-support__resource-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 25px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-support__resource-title {
    font-size: 1.3em;
    margin-bottom: 10px;
}

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

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

.page-support__resource-text {
    color: #555555;
    margin-bottom: 15px;
}

/* Final CTA Section */
.page-support__final-cta-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-support__final-cta-section .page-support__container {
    position: relative;
    z-index: 1;
}

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

.page-support__cta-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    z-index: 0;
    display: block;
}

.page-support__text-center {
    text-align: center;
}

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

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

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

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

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

    .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;
      padding-right: 15px;
    }

    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

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

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

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

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

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

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

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

    .page-support__contact-card,
    .page-support__resource-card {
        padding: 20px;
    }

    .page-support__contact-icon {
        width: 120px;
        height: 120px;
    }

    /* Mobile image responsiveness */
    .page-support img {
      max-width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__contact-methods-section,
    .page-support__resources-section,
    .page-support__final-cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-support__main-title {
        font-size: 1.8em;
    }
    .page-support__section-title {
        font-size: 1.6em;
    }
}