/* style/support.css */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text on light body background */
    background-color: #f8f9fa; /* Slightly off-white background for main content */
}

/* Fixed Header Offset */
.page-support__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

/* Section Styling */
.page-support__section-title {
    font-size: 2.5em;
    color: #003366; /* Main brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #003366; /* Dark blue background for hero */
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
    overflow: hidden; /* For image overflow */
}

.page-support__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.page-support__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
}

.page-support__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-support__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

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

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-text {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Responsive button */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-support__btn-primary {
    background-color: #FFD700; /* Gold button */
    color: #003366; /* Dark blue text */
    border: 2px solid #FFD700;
}

.page-support__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: #001a33;
}

.page-support__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-support__btn-secondary:hover {
    background-color: #FFD700;
    color: #003366;
}

.page-support__btn-text {
    background: none;
    border: none;
    color: #003366;
    padding: 0;
    text-decoration: underline;
    font-size: 1em;
}

.page-support__btn-text:hover {
    color: #FFD700;
}


/* Dark Section */
.page-support__dark-section {
    background-color: #003366;
    color: #f0f0f0;
    padding: 80px 0;
}

.page-support__dark-section .page-support__section-title {
    color: #FFD700;
}

.page-support__dark-section .page-support__section-description {
    color: #cccccc;
}

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

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

.page-support__contact-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 280px;
}

.page-support__contact-card .page-support__card-title {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 15px;
}

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

.page-support__contact-image {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 0;
}

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

.page-support__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.page-support__faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}

.page-support__faq-item.active .page-support__faq-question {
    background-color: #eef;
    border-bottom: none;
}

.page-support__faq-title {
    font-size: 1.25em;
    color: #003366;
    margin: 0;
    flex-grow: 1;
}

.page-support__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #003366;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Plus becomes an X */
}

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

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 20px 25px;
}

.page-support__faq-answer p {
    margin-bottom: 15px;
}

.page-support__faq-answer a {
    color: #003366;
    text-decoration: underline;
}

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

.page-support__faq-image {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Resources Section */
.page-support__resources-section {
    padding: 80px 0;
}

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

.page-support__resource-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
}

.page-support__resource-card .page-support__card-title {
    font-size: 1.6em;
    color: #003366;
    margin-bottom: 15px;
}

.page-support__resource-card .page-support__card-title a {
    color: #003366;
    text-decoration: none;
}

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

.page-support__resource-card .page-support__card-text {
    color: #555555;
    flex-grow: 1;
}

.page-support__resource-image {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Responsible Gaming CTA */
.page-support__responsible-gaming-cta {
    padding: 80px 0;
    text-align: center;
    background-color: #ffffff;
}

.page-support__responsible-gaming-cta .page-support__section-title {
    color: #003366;
}

.page-support__responsible-gaming-cta .page-support__section-description {
    color: #555555;
    margin-bottom: 30px;
}

.page-support__responsible-gaming-image {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Feedback Section */
.page-support__feedback-section {
    padding: 80px 0;
}

.page-support__feedback-form {
    max-width: 700px;
    margin: 40px auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.page-support__form-group {
    margin-bottom: 25px;
}

.page-support__form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #003366;
    font-size: 1.1em;
}

.page-support__form-input,
.page-support__form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 1em;
    color: #333333;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-support__form-input:focus,
.page-support__form-textarea:focus {
    border-color: #003366;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.2);
    outline: none;
}

.page-support__form-textarea {
    resize: vertical;
    min-height: 120px;
}

.page-support__feedback-image {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Video Section */
.page-support__video-section {
    padding: 80px 0;
    text-align: center;
    background-color: #f0f0f0;
}

.page-support__video-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-support__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%; /* Ensure video is responsive */
    height: auto; /* Ensure video is responsive */
    display: block;
    cursor: pointer; /* Indicate clickable */
}

.page-support__video-cta-text {
    font-size: 1.1em;
    color: #555555;
    margin-top: 20px;
    font-style: italic;
}

/* Image responsive base */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 3em;
    }
    .page-support__hero-description {
        font-size: 1.2em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
}

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

    .page-support__container {
        padding: 0 15px;
    }

    /* Hero Section */
    .page-support__hero-section {
        min-height: 500px;
        padding: 40px 15px;
    }
}