/* style/support.css */

/* General styling for the support page */
.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Darker blue for better contrast */
    color: #fff;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

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

.page-support__hero-section > .page-support__container {
    position: relative;
    z-index: 1;
}

.page-support__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffc107; /* Auxiliary color for emphasis */
}

.page-support__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-support__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.page-support__btn--primary {
    background-color: #ffc107; /* Auxiliary color */
    color: #0056b3; /* Darker primary color for text */
    border: 2px solid #ffc107;
}

.page-support__btn--primary:hover {
    background-color: #e0a800;
    color: #003e80;
    border-color: #e0a800;
}

.page-support__btn--secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.page-support__btn--secondary:hover {
    background-color: #fff;
    color: #007bff;
}

.page-support__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Section Titles and Descriptions */
.page-support__section-title {
    font-size: 2.8em;
    color: #007bff; /* Primary color */
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
    font-weight: bold;
}

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

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

.page-support__faq-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: auto;
    object-fit: contain;
    opacity: 0.05;
    z-index: 0;
}

.page-support__faq-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-support__faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-support__faq-question {
    padding: 20px;
    font-size: 1.3em;
    color: #007bff;
    cursor: pointer;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: #f0f8ff;
}

.page-support__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-support__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-support__faq-answer {
    padding: 0 20px;
    font-size: 1.1em;
    color: #444;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-support__faq-answer.active {
    max-height: 200px; /* Adjust based on expected content length */
    padding: 15px 20px 20px 20px;
}

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

.page-support__faq-answer a {
    color: #007bff;
    text-decoration: underline;
}

.page-support__faq-answer a:hover {
    color: #0056b3;
}

/* Contact Section */
.page-support__contact-section {
    padding: 60px 0;
    background-color: #e9ecef;
    position: relative;
    overflow: hidden;
}

.page-support__contact-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: auto;
    object-fit: contain;
    opacity: 0.05;
    z-index: 0;
}

.page-support__contact-methods {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-support__contact-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-support__card-title {
    font-size: 1.8em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-support__contact-card p {
    color: #666;
    margin-bottom: 25px;
}

/* CTA Section */
.page-support__cta-section {
    position: relative;
    background: linear-gradient(45deg, #0056b3 0%, #007bff 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.page-support__cta-section > .page-support__container {
    position: relative;
    z-index: 1;
}

.page-support__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffc107;
}

.page-support__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-support__hero-title {
        font-size: 2.8em;
    }
    .page-support__hero-subtitle {
        font-size: 1.3em;
    }
    .page-support__section-title {
        font-size: 2.2em;
    }
    .page-support__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        padding: 80px 0;
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-subtitle {
        font-size: 1.1em;
    }
    .page-support__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-support__faq-question {
        font-size: 1.1em;
    }
    .page-support__faq-answer {
        font-size: 1em;
    }
    .page-support__contact-card {
        padding: 25px;
    }
    .page-support__card-title {
        font-size: 1.5em;
    }
    .page-support__cta-title {
        font-size: 2em;
    }
    .page-support__cta-description {
        font-size: 1.1em;
    }
    .page-support__btn--large {
        width: 90%;
    }
}

@media (max-width: 576px) {
    .page-support__hero-section {
        padding: 60px 0;
    }
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__hero-subtitle {
        font-size: 0.9em;
    }
    .page-support__section-title {
        font-size: 1.6em;
    }
    .page-support__cta-title {
        font-size: 1.8em;
    }
    .page-support__cta-description {
        font-size: 1em;
    }
    .page-support__btn {
        padding: 12px 20px;
        font-size: 0.9em;
    }
    .page-support__btn--large {
        padding: 15px 25px;
        font-size: 1em;
    }
}