/* style/support.css */

/* General styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #f8f8f8; /* Light background for the page content */
}

.page-support__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

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

.page-support__section-title {
    font-size: 36px;
    color: #0A2463; /* Primary brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__section-title--light {
    color: #ffffff; /* White text for dark backgrounds */
}

.page-support__section-description {
    font-size: 18px;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__section-description--light {
    color: #f0f0f0; /* Light text for dark backgrounds */
}

.page-support__cta-button,
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-support__cta-button {
    background: #FFD700; /* Secondary brand color */
    color: #0A2463; /* Primary brand color for text */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-support__btn-primary {
    background: #0A2463; /* Primary brand color */
    color: #ffffff; /* White text */
    border: 2px solid #0A2463;
}

.page-support__btn-primary:hover {
    background: #071c4c;
    border-color: #071c4c;
}

.page-support__btn-secondary {
    background: #ffffff; /* White background */
    color: #0A2463; /* Primary brand color for text */
    border: 2px solid #0A2463;
}

.page-support__btn-secondary:hover {
    background: #f0f0f0;
    color: #071c4c;
    border-color: #071c4c;
}

.page-support__text-center {
    text-align: center;
    font-size: 17px;
    margin-top: 30px;
    color: #555555;
}

.page-support__text-center--light {
    color: #f0f0f0;
}

.page-support__link {
    color: #FFD700; /* Secondary brand color for links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-support__link:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-support__link--light {
    color: #FFD700; /* Secondary brand color for links on dark background */
}

.page-support__link--light:hover {
    color: #e6c200;
}

/* HERO Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background: linear-gradient(135deg, #0A2463, #1a3a72); /* Gradient background for hero */
    overflow: hidden; /* Prevent image overflow */
}

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

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

.page-support__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-support__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: #ffffff;
}

.page-support__hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: #FFD700; /* Secondary brand color for hero title */
    line-height: 1.2;
}

.page-support__hero-description {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

/* Contact Methods Section */
.page-support__contact-methods {
    background-color: #ffffff;
    padding: 80px 0;
}

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

.page-support__contact-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: 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-card img {
    width: 100%; /* Ensure it fills card width */
    max-width: 250px; /* Max size for icon-like images */
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    border-radius: 8px;
}

.page-support__card-title {
    font-size: 24px;
    color: #0A2463;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__card-text {
    font-size: 16px;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1; /* Allow text to grow */
}

/* FAQ Section */
.page-support__faq-section {
    background-color: #0A2463; /* Primary brand color for dark background */
    padding: 80px 0;
}

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

.page-support__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff; /* White background for each FAQ item */
    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: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

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

.page-support__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #0A2463;
    pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-support__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700; /* Secondary brand color for toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-support__faq-item.active .page-support__faq-toggle {
    color: #0A2463;
    transform: rotate(45deg); /* Rotate for minus sign effect */
}

.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;
    color: #555555;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 2000px !important; /* Ensure enough space for content */
    padding: 20px 25px !important;
    opacity: 1;
    background: #fdfdfd;
    border-top: 1px solid #f0f0f0;
}

.page-support__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming {
    background-color: #f8f8f8;
    padding: 80px 0;
}

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

.page-support__feature-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support__feature-card img {
    width: 100%; /* Ensure it fills card width */
    max-width: 250px; /* Max size for icon-like images */
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    border-radius: 8px;
}

/* Security & Trust Section */
.page-support__security-trust {
    background-color: #0A2463;
    padding: 80px 0;
}

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

.page-support__security-item {
    background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for items on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.3s ease;
}

.page-support__security-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.page-support__security-item img {
    width: 100%; /* Ensure it fills card width */
    max-width: 250px; /* Max size for icon-like images */
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    border-radius: 8px;
}

.page-support__item-title {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__item-title--light {
    color: #FFD700; /* Secondary brand color for titles on dark background */
}

.page-support__item-text {
    font-size: 16px;
    color: #f0f0f0;
    flex-grow: 1;
}

/* Resources CTA Section */
.page-support__resources-cta {
    background-color: #f8f8f8;
    padding: 80px 0;
}

.page-support__resources-cta .page-support__container {
    background-color: #0A2463; /* Dark background for the CTA container */
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-support__resources-cta .page-support__section-title--light,
.page-support__resources-cta .page-support__section-description--light {
    color: #ffffff;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 42px;
    }
    .page-support__hero-description {
        font-size: 18px;
    }
    .page-support__section-title {
        font-size: 32px;
    }
    .page-support__section-description {
        font-size: 16px;
    }
    .page-support__contact-grid,
    .page-support__feature-grid,
    .page-support__security-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Fixed header padding for mobile */
    .page-support__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-support__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-support__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-support__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .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: 12px 20px;
        font-size: 16px;
    }

    .page-support__button-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-support__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-support__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    /* Image responsiveness for mobile */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-support__contact-card img,
    .page-support__feature-card img,
    .page-support__security-item img {
        min-width: 200px !important; /* Re-enforce min size for content images */
        min-height: 200px !important;
        max-width: 250px !important; /* Keep images from being too wide on single column */
        margin-left: auto;
        margin-right: auto;
    }

    /* FAQ Mobile */
    .page-support__faq-question {
        padding: 15px 20px;
    }
    .page-support__faq-question h3 {
        font-size: 16px;
    }
    .page-support__faq-toggle {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
    .page-support__faq-answer {
        padding: 0 20px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px 20px !important;
    }
    .page-support__faq-answer p {
        font-size: 15px;
    }

    .page-support__resources-cta .page-support__container {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 28px;
    }
    .page-support__contact-grid,
    .page-support__feature-grid,
    .page-support__security-grid {
        grid-template-columns: 1fr; /* Single column layout for very small screens */
    }
    .page-support__contact-card img,
    .page-support__feature-card img,
    .page-support__security-item img {
        max-width: 250px !important; /* Keep images from being too wide on single column */
        margin-left: auto;
        margin-right: auto;
    }
    .page-support__faq-question h3 {
        font-size: 15px;
    }
}