/* style/support.css */

/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #121212; /* Inherited from body, but good to reinforce */
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    box-sizing: border-box;
}

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-support__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-support__hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
    border-radius: 8px;
    color: #ffffff;
}

.page-support__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for prominence */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

/* General Section Styling */
.page-support__section-heading {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #FFD700; /* Gold for headings */
    padding-top: 60px;
}

.page-support__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0; /* Light text for dark background */
}

/* Buttons */
.page-support__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    border: none;
    cursor: pointer;
}

.page-support__btn-primary {
    background-color: #FFD700; /* Gold button */
    color: #121212; /* Dark text for gold background */
}

.page-support__btn-primary:hover {
    background-color: #e0b800;
}

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

.page-support__btn-secondary:hover {
    background-color: #FFD700;
    color: #121212; /* Dark text on gold hover */
}

/* Why Choose Section */
.page-support__why-choose {
    background-color: #1a1a1a; /* Slightly lighter dark background */
    padding: 80px 0;
}
.page-support__why-choose .page-support__section-heading {
    color: #FFD700;
}
.page-support__why-choose .page-support__text-block {
    color: #e0e0e0;
}


/* Channels Section */
.page-support__channels-section {
    background-color: #0d0d0d; /* Darker background */
    padding: 80px 0;
}
.page-support__channels-section .page-support__section-heading {
    color: #FFD700;
}
.page-support__channels-section .page-support__text-block {
    color: #f0f0f0;
}

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

.page-support__channel-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white card */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__channel-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-support__channel-icon {
    width: 200px; /* Minimum 200x200 for images */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-support__channel-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FFD700;
}

.page-support__channel-description {
    font-size: 1em;
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes button to bottom */
}

/* Video Section */
.page-support__video-section {
    background-color: #121212;
    padding: 80px 0;
    text-align: center;
}
.page-support__video-section .page-support__section-heading,
.page-support__video-section .page-support__text-block {
    color: #ffffff;
}
.page-support__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px; /* Max width for video */
    margin: 40px auto;
    background-color: #000;
    border-radius: 10px;
}
.page-support__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer; /* Indicate clickable */
}

/* FAQ Section */
.page-support__faq-section {
    background-color: #1a1a1a;
    padding: 80px 0;
}
.page-support__faq-section .page-support__section-heading {
    color: #FFD700;
}
.page-support__faq-section .page-support__text-block {
    color: #e0e0e0;
}

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

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

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

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

.page-support__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFD700;
    transition: transform 0.3s ease;
}

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

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

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

/* Self-Help Section */
.page-support__self-help-section {
    background-color: #0d0d0d;
    padding: 80px 0;
}
.page-support__self-help-section .page-support__section-heading {
    color: #FFD700;
}
.page-support__self-help-section .page-support__text-block {
    color: #f0f0f0;
}

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

.page-support__guide-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-support__guide-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-support__guide-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FFD700;
}

.page-support__guide-description {
    font-size: 1em;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Feedback Section */
.page-support__feedback-section {
    background-color: #1a1a1a;
    padding: 80px 0;
    text-align: center;
}
.page-support__feedback-section .page-support__section-heading {
    color: #FFD700;
}
.page-support__feedback-section .page-support__text-block {
    color: #e0e0e0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.8em;
    }
    .page-support__section-heading {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-support__hero-title {
        font-size: 2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    .page-support__section-heading {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding-top: 40px;
    }
    .page-support__text-block {
        font-size: 1em;
        padding: 0 15px; /* Add padding to text blocks */
    }

    .page-support__channel-grid,
    .page-support__guide-grid {
        grid-template-columns: 1fr;
        padding: 0 15px; /* Add padding to grids */
    }

    .page-support__channel-item,
    .page-support__guide-card {
        padding: 25px;
    }

    .page-support__channel-icon {
        width: 150px;
        height: 100px;
    }

    .page-support__channel-title,
    .page-support__guide-title {
        font-size: 1.5em;
    }

    .page-support__faq-list {
        padding: 0 15px; /* Add padding to FAQ list */
    }

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

    /* Mobile image responsive adaptation */
    .page-support img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-support__hero-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Mobile video responsive adaptation */
    .page-support video,
    .page-support__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-support__video-section,
    .page-support__video-container,
    .page-support__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-support__video-wrapper {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
        height: 0 !important;
    }

    /* Mobile button responsive adaptation */
    .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;
        padding-right: 15px;
        margin-left: auto; /* Center button if it's the only one */
        margin-right: auto;
    }

    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex; /* Ensure flex for wrapping if multiple buttons */
        flex-direction: column; /* Stack buttons vertically on mobile */
    }
}

@media (max-width: 480px) {
    .page-support__hero-section {
        height: 400px;
    }
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__section-heading {
        font-size: 1.5em;
    }
    .page-support__cta-button {
        padding: 10px 20px;
        font-size: 0.85em;
    }
}

/* Color Contrast Specifics */
/* Ensure text is light on dark backgrounds */
.page-support__dark-bg {
    color: #ffffff;
}
.page-support__light-bg {
    color: #333333;
}
.page-support__card {
    background: rgba(255, 255, 255, 0.08); /* Dark background, light text */
    color: #ffffff;
}
.page-support__btn-primary {
    background: #FFD700; /* Gold background */
    color: #121212; /* Dark text */
}
.page-support__btn-secondary {
    background: transparent;
    color: #FFD700; /* Gold text */
    border-color: #FFD700;
}
/* Ensure no filter properties on images */
.page-support img {
    filter: none;
}