/* style/support.css */
/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

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

.page-support__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #F2C14E; /* Main color */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small padding-top, larger padding-bottom */
    overflow: hidden;
    background-color: #0A0A0A;
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for aesthetic */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Ensure image doesn't stretch too much */
}

.page-support__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: 20px; /* Space between image and content */
}

.page-support__hero-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
    font-weight: 700;
    color: #F2C14E;
    margin-bottom: 15px;
    line-height: 1.2;
}

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

.page-support__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-support__cta-button:hover {
    background: linear-gradient(180deg, #FFE082 0%, #E6B02B 100%);
    transform: translateY(-2px);
}

/* Help Topics Section */
.page-support__help-topics {
    padding: 60px 0;
    background-color: #0A0A0A;
}

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

.page-support__topic-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-support__topic-icon {
    width: 200px; /* Min size for content images */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-support__topic-title {
    font-size: 1.5em;
    color: #FFD36B; /* Auxiliary color */
    margin-bottom: 10px;
}

.page-support__topic-text {
    color: #FFF6D6;
    margin-bottom: 20px;
    flex-grow: 1; /* Ensures text takes available space */
}

.page-support__topic-link {
    display: inline-block;
    padding: 10px 20px;
    background: #F2C14E; /* Main color */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.page-support__topic-link:hover {
    background: #FFD36B;
}

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

.page-support__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-support__faq-item.active {
    background-color: rgba(242, 193, 78, 0.1); /* Slightly lighter background when active */
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2C14E;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Change + to X (or -) visually */
}

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

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

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

.page-support__faq-answer a {
    color: #F2C14E;
    text-decoration: none;
}

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

/* Contact Section */
.page-support__contact-section {
    padding: 60px 0;
    background-color: #0A0A0A;
}

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

.page-support__contact-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-support__contact-title {
    font-size: 1.8em;
    color: #FFD36B; /* Auxiliary color */
    margin-bottom: 15px;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    width: auto; /* Default width */
}

.page-support__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #ffffff;
}

.page-support__btn-primary:hover {
    background: linear-gradient(180deg, #FFE082 0%, #E6B02B 100%);
    transform: translateY(-2px);
}

.page-support__btn-secondary {
    background: transparent;
    color: #F2C14E; /* Main color */
    border: 2px solid #F2C14E; /* Border */
}

.page-support__btn-secondary:hover {
    background: #F2C14E;
    color: #ffffff;
    transform: translateY(-2px);
}

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

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

.page-support__resource-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    color: #F2C14E;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-support__resource-link:hover {
    background-color: #F2C14E;
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: clamp(2em, 5vw, 3em);
    }

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

    .page-support__topic-grid,
    .page-support__contact-methods {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-support__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__hero-section {
        padding: 10px 0 40px 0;
    }

    .page-support__hero-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

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

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

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

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

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

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

    /* Buttons */
    .page-support__cta-button,
    .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 !important;
        padding-right: 15px !important;
    }
    
    .page-support__contact-methods,
    .page-support__resource-links {
        flex-direction: column !important;
        gap: 15px !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__cta-button,
    .page-support__resource-link {
        width: 100%; /* Ensure full width on mobile */
    }

    /* FAQ */
    .page-support__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-support__faq-answer {
        padding: 0 20px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-support__section-title {
        font-size: 1.5em;
    }
}