.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Main text color for dark background */
    background-color: #0A0A0A; /* Page background */
}

/* Fixed header spacing for the first section */
.page-support__hero-section {
    padding-top: var(--header-offset, 120px); /* Desktop default */
    background: linear-gradient(135deg, #F2C14E, #FFD36B);
    color: #000000; /* Ensure text is dark on light gradient background */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.page-support__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-support__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000000; /* Dark text on light hero background */
}

.page-support__hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #333333; /* Darker text on light hero background */
}

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    max-width: 100%; /* Ensure buttons adapt to container width */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
    text-align: center;
}

.page-support__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-support__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-support__btn-secondary {
    background: #111111; /* Card BG color */
    color: #FFD36B; /* Glow color for text */
    border: 2px solid #FFD36B; /* Glow color for border */
}

.page-support__btn-secondary:hover {
    background: #FFD36B;
    color: #111111;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-support__section {
    padding: 60px 0;
    position: relative;
    z-index: 2; /* Ensure sections are above hero image */
}

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

.page-support__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #F2C14E; /* Main brand color for titles */
}

.page-support__section-description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #FFF6D6; /* Light text on dark background */
}

/* FAQ Section */
.page-support__faq-section {
    background-color: #0A0A0A; /* Background color for this section */
}

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

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

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #111111;
    color: #FFF6D6;
    font-weight: 600;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

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

.page-support__faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #FFF6D6;
}

.page-support__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #F2C14E; /* Brand color for toggle icon */
}

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

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    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 to accommodate content */
    padding: 20px;
}

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

.page-support__faq-answer a {
    color: #FFD36B; /* Highlight links in FAQ answers */
    text-decoration: underline;
}

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


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

.page-support__contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-support__contact-info {
    text-align: left;
}

.page-support__contact-info .page-support__section-title,
.page-support__contact-info .page-support__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-support__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-support__contact-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-support__contact-method {
    font-size: 1.5rem;
    color: #F2C14E;
    margin-bottom: 5px;
}

.page-support__contact-item p {
    color: #FFF6D6;
    margin-bottom: 15px;
}

.page-support__btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    align-self: flex-start;
}

.page-support__contact-image-wrapper {
    text-align: center;
}

.page-support__contact-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* Guides Section */
.page-support__guides-section {
    background-color: #0A0A0A;
}

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

.page-support__guide-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support__guide-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-support__guide-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 20px 20px 10px 20px;
    color: #F2C14E;
}

.page-support__guide-card-title a {
    color: #F2C14E;
    text-decoration: none;
}

.page-support__guide-card-title a:hover {
    text-decoration: underline;
    color: #FFD36B;
}

.page-support__guide-card-description {
    color: #FFF6D6;
    font-size: 0.95rem;
    margin: 0 20px 20px 20px;
    flex-grow: 1; /* Ensure description takes available space */
}

.page-support__btn-text {
    display: inline-block;
    color: #FFD36B;
    text-decoration: none;
    font-weight: 600;
    margin: 0 20px 20px 20px;
    align-self: flex-start;
    transition: color 0.3s ease;
}

.page-support__btn-text:hover {
    color: #F2C14E;
    text-decoration: underline;
}

/* Security Section */
.page-support__security-section {
    background-color: #0A0A0A;
}

.page-support__security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-support__security-image-wrapper {
    text-align: center;
}

.page-support__security-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.page-support__security-content {
    text-align: left;
}

.page-support__security-content .page-support__section-title,
.page-support__security-content .page-support__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-support__security-content .page-support__cta-buttons {
    justify-content: flex-start;
    margin-top: 30px;
}

/* Final CTA Section */
.page-support__final-cta {
    background-color: #111111; /* Card BG for this section */
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #3A2A12;
}

.page-support__final-cta-content {
    max-width: 900px;
}

.page-support__final-cta .page-support__section-title {
    color: #F2C14E;
}

.page-support__final-cta .page-support__section-description {
    color: #FFF6D6;
}

/* Global image styles */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevent extra space below images */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-support__contact-grid,
    .page-support__security-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-support__contact-info,
    .page-support__security-content {
        text-align: center;
    }

    .page-support__contact-info .page-support__section-title,
    .page-support__contact-info .page-support__section-description,
    .page-support__security-content .page-support__section-title,
    .page-support__security-content .page-support__section-description {
        text-align: center;
    }

    .page-support__contact-list {
        align-items: center;
    }

    .page-support__btn-small {
        align-self: center;
    }

    .page-support__security-content .page-support__cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        padding-top: var(--header-offset, 100px) !important; /* Mobile: adjust header offset */
        padding-bottom: 40px;
    }

    .page-support__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

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

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

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

    .page-support__section {
        padding: 40px 0;
    }

    /* Mobile image responsiveness */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Mobile container responsiveness */
    .page-support__section,
    .page-support__container,
    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container,
    .page-support__faq-item,
    .page-support__contact-item,
    .page-support__guide-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile button responsiveness */
    .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;
        margin-bottom: 10px; /* Stack buttons */
    }
    .page-support__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }
    .page-support__contact-list {
        align-items: stretch; /* Stretch items in mobile contact list */
    }
    .page-support__btn-small {
        align-self: stretch; /* Stretch small buttons */
    }
    .page-support__guide-card-title,
    .page-support__guide-card-description,
    .page-support__btn-text {
        margin-left: 15px;
        margin-right: 15px;
    }
}