/* style/support.css */
:root {
    --primary-color: #0A192F;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --border-light: #e0e0e0;
}

.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-dark); /* Default text color for light backgrounds */
}

.page-support__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-support__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-support__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 180px; /* Desktop: Adjust for fixed header */
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(10, 25, 47, 0.8) 100%);
    color: var(--text-light);
}

.page-support__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.page-support__hero-image {
    width: 100%;
    max-width: 800px; /* Limit image width for better composition */
    margin-bottom: 30px;
}

.page-support__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-support__hero-content {
    text-align: center;
    width: 100%;
}

.page-support__main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-support__hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-support__hero-description a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-support__hero-description a:hover {
    text-decoration: underline;
}

.page-support__highlight {
    color: var(--secondary-color);
}

.page-support__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-support__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-support__btn-primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-support__btn-secondary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 1px solid var(--secondary-color);
}

.page-support__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-support__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-support__dark-bg .page-support__section-title {
    color: var(--text-light);
}

.page-support__text-block {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.page-support__text-block a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.page-support__dark-bg .page-support__text-block a {
    color: var(--secondary-color);
}

.page-support__text-block a:hover {
    text-decoration: underline;
}

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

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

.page-support__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-support__faq-question:hover {
    background: #f0f0f0;
    border-color: #c0c0c0;
}

.page-support__faq-question:active {
    background: #e0e0e0;
}

.page-support__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-support__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 2000px !important; /* Sufficiently large value */
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px solid var(--border-light);
}

.page-support__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-support__faq-answer a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.page-support__faq-answer a:hover {
    text-decoration: underline;
}

/* Contact Methods Section */
.page-support__contact-methods {
    padding: 60px 20px;
}

.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: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    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__contact-icon {
    max-width: 150px; /* Increased size for content image */
    height: auto;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-support__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-support__card-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--text-dark);
}

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

.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: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support__resource-icon {
    max-width: 150px; /* Increased size for content image */
    height: auto;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-support__resource-card .page-support__card-title a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* CTA Bottom Section */
.page-support__cta-bottom {
    padding: 80px 20px;
    text-align: center;
}

.page-support__cta-bottom-content {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

@media (max-width: 768px) {
    .page-support__hero-section {
        padding-top: 140px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
    }
    .page-support__main-title {
        font-size: 32px;
    }
    .page-support__hero-description {
        font-size: 16px;
    }
    .page-support__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-support__container {
        padding: 30px 15px;
    }
    .page-support__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .page-support__text-block {
        font-size: 15px;
    }

    .page-support__faq-question {
        padding: 15px 20px;
    }
    .page-support__faq-question h3 {
        font-size: 16px;
    }
    .page-support__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
        margin-left: 15px;
    }
    .page-support__faq-answer {
        padding: 0 20px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px 20px !important;
    }
    .page-support__contact-grid, .page-support__resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-support__contact-card, .page-support__resource-card {
        padding: 25px;
    }
    .page-support__card-title {
        font-size: 20px;
    }
    .page-support__card-description {
        font-size: 14px;
    }

    /* Mobile image adaptation */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__hero-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__hero-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}