/* style/support.css */
.page-support {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

.page-support .highlight {
    color: #FFD700;
    font-weight: bold;
}

.page-support__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #B22222 0%, #FFD700 100%);
    color: #fff;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    justify-content: center;
}

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

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.7); /* Darken image for better text contrast */
}

.page-support__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 30px;
}

.page-support__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #FFD700; /* Ensure high contrast against darkened background */
}

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

.page-support__search-bar {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.page-support__search-input {
    width: 70%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 1em;
    outline: none;
    color: #333;
}

.page-support__search-button {
    width: 30%;
    padding: 12px 15px;
    background-color: #FFD700;
    color: #B22222;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-support__search-button:hover {
    background-color: #e6c200;
}

.page-support__faq-section, .page-support__contact-section, .page-support__cta-section {
    padding: 60px 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

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

.page-support__section-title {
    font-size: 2.2em;
    color: #B22222;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-support__section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.page-support__section-description {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
}

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

.page-support__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-support__faq-item:hover {
    transform: translateY(-5px);
}

.page-support__faq-question {
    font-size: 1.3em;
    color: #B22222;
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-support__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-support__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg);
}

.page-support__faq-answer {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-top 0.3s ease-out, opacity 0.3s ease-out;
    padding-top: 0;
    opacity: 0;
}

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

.page-support__faq-button {
    display: inline-block;
    background-color: #FFD700;
    color: #B22222;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-support__faq-button:hover {
    background-color: #e6c200;
}

.page-support__contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-support__contact-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-support__contact-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-support__contact-item h3 {
    font-size: 1.5em;
    color: #B22222;
    margin-bottom: 10px;
}

.page-support__contact-item p {
    color: #666;
    margin-bottom: 20px;
}

.page-support__contact-button {
    display: inline-block;
    background-color: #B22222;
    color: #FFD700;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-support__contact-button:hover {
    background-color: #8c1b1b;
}

.page-support__cta-section {
    background-color: #B22222;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

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

.page-support__cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for better text contrast */
    z-index: 1;
}

.page-support__cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-support__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Ensure high contrast */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-support__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0; /* Ensure high contrast */
}

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

.page-support__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-support__cta-button--primary {
    background-color: #FFD700;
    color: #B22222;
}

.page-support__cta-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-support__cta-button--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-support__cta-button--secondary:hover {
    background-color: #FFD700;
    color: #B22222;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-support__hero-title {
        font-size: 2.2em;
    }

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

    .page-support__search-bar {
        flex-direction: column;
    }

    .page-support__search-input, .page-support__search-button {
        width: 100%;
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .page-support__search-button {
        margin-bottom: 0;
    }

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

    .page-support__faq-list, .page-support__contact-methods {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 480px) {
    .page-support__hero, .page-support__faq-section, .page-support__contact-section, .page-support__cta-section {
        padding: 40px 15px;
    }

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

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

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

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