/* 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: #0A0A0A; /* Background */
}

/* Container for consistent content width */
.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-support__section {
    padding: 60px 0;
}

.page-support__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #FFF6D6; /* Text Main */
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Main and Auxiliary colors */
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden; /* For image */
}

.page-support__hero-image-wrapper {
    width: 100%;
    height: 450px; /* Fixed height for desktop */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

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

.page-support__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 20px; /* Small top padding after image */
    max-width: 900px;
}

.page-support__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
    font-weight: 800;
    color: #0A0A0A; /* Dark text for light background */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-support__hero-description {
    font-size: 1.2em;
    color: #111111; /* Dark text for light background */
    margin-bottom: 30px;
}

.page-support__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #ffffff;
    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;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Help Categories */
.page-support__help-categories {
    background: #0A0A0A; /* Background */
}

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

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

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

.page-support__category-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-bottom: 15px;
}

.page-support__card-title {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFD36B; /* Glow */
}

.page-support__card-title a {
    color: #FFD36B; /* Glow */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__card-title a:hover {
    color: #F2C14E; /* Main Color */
}

.page-support__card-text {
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
    color: #FFF6D6; /* Text Main */
}

.page-support__card-link {
    display: inline-block;
    color: #F2C14E; /* Main Color */
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #F2C14E; /* Main Color */
    padding-bottom: 3px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-support__card-link:hover {
    color: #FFD36B; /* Glow */
    border-color: #FFD36B; /* Glow */
}

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

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

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

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

.page-support__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.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);
}

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

.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: 15px;
}

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

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

.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: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFF6D6; /* Text Main */
}

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

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

.page-support__btn-small {
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 6px;
    margin-top: auto; /* Push button to bottom */
}

/* Guides & Resources Section */
.page-support__guides-resources {
    background: #0A0A0A; /* Background */
}

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

.page-support__guide-card {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #FFF6D6; /* Text Main */
}

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

.page-support__guide-image {
    width: 100%;
    height: 225px; /* Fixed aspect ratio */
    object-fit: cover;
    display: block;
}

.page-support__guide-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Partners Section */
.page-support__partners-section {
    background: #0A0A0A; /* Background */
    padding-bottom: 80px;
}

.page-support__partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.page-support__partner-logo {
    width: 167px; /* Fixed width */
    height: 127px; /* Fixed height */
    object-fit: contain;
    filter: grayscale(100%) opacity(70%); /* Subtle effect */
    transition: filter 0.3s ease;
}

.page-support__partner-logo:hover {
    filter: grayscale(0%) opacity(100%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-image-wrapper {
        height: 350px;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__section {
        padding: 40px 0;
    }
}

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

    /* Hero section adjustments */
    .page-support__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media */
        padding-bottom: 40px;
    }
    .page-support__hero-image-wrapper {
        height: 250px;
    }
    .page-support__hero-title {
        font-size: 2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }

    /* General padding for sections */
    .page-support__section {
        padding: 30px 0;
    }
    .page-support__container {
        padding: 0 15px;
    }

    /* Images responsiveness */
    .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__category-card,
    .page-support__contact-card,
    .page-support__guide-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__guide-image {
        height: 180px; /* Adjust height for mobile */
    }

    /* Buttons responsiveness */
    .page-support__cta-button,
    .page-support__btn-small {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 10px; /* Add space between stacked buttons */
    }

    /* Button containers */
    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container,
    .page-support__contact-methods {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
    }

    .page-support__partner-logos {
        gap: 20px;
    }
    .page-support__partner-logo {
        width: 120px;
        height: 90px;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__category-grid,
    .page-support__contact-methods,
    .page-support__guide-grid {
        grid-template-columns: 1fr;
    }
    .page-support__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-support__faq-answer {
        padding: 0 20px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 10px 20px;
    }
}