/* style/support.css */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-support__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-support__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-support__text-light {
    color: #ffffff;
}

.page-support__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: inherit;
}

.page-support__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: inherit;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 80px 20px;
    overflow: hidden;
    text-align: center;
}

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

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

.page-support__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-support__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
}

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

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

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

.page-support__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

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

.page-support__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

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

/* Introduction Section */
.page-support__introduction-section {
    padding: 60px 20px;
}

/* Channels Section */
.page-support__channels-section {
    padding: 60px 20px;
}

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

.page-support__channel-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1); /* Light background for cards on dark sections */
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__channel-icon {
    width: 200px; /* Min size */
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-support__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: inherit;
}

.page-support__card-description {
    font-size: 1em;
    margin-bottom: 20px;
    color: inherit;
}

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 20px;
}

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

.page-support__faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #017439;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-support__faq-question:hover {
    background-color: #005a2e;
}

.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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    color: #333333;
}

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

/* Technical Support Section */
.page-support__tech-support-section {
    padding: 60px 20px;
}

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

.page-support__tech-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__tech-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-support__cta-tech {
    text-align: center;
    margin-top: 40px;
}

/* Responsibility Section */
.page-support__responsibility-section {
    padding: 60px 20px;
}

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

.page-support__responsibility-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: #f9f9f9;
    color: #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-support__responsibility-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* Policies Section */
.page-support__policies-section {
    padding: 60px 20px;
}

.page-support__policy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: center;
}

.page-support__policy-list li {
    margin-bottom: 15px;
}

.page-support__policy-list a {
    color: #FFFF00; /* Yellow for links on dark background */
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-support__policy-list a:hover {
    color: #e02a2a;
    text-decoration: underline;
}

/* Video Section */
.page-support__video-section {
    padding: 60px 20px;
    text-align: center;
}

.page-support__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-top: 40px;
    border-radius: 10px;
}

.page-support__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    cursor: pointer;
}

.page-support__video-cta {
    margin-top: 20px;
    font-style: italic;
    color: #f0f0f0;
}

/* Contact Section */
.page-support__contact-section {
    padding: 60px 20px;
}

.page-support__contact-info {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1em;
}

.page-support__contact-info p {
    margin-bottom: 10px;
    color: #333333;
}

.page-support__contact-info a {
    color: #017439;
    text-decoration: none;
}

.page-support__contact-info a:hover {
    text-decoration: underline;
}

.page-support__contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-support__form-title {
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
    color: #017439;
}

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

.page-support__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333333;
}

.page-support__form-input,
.page-support__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    color: #333333;
}

.page-support__form-input:focus,
.page-support__form-textarea:focus {
    border-color: #017439;
    outline: none;
}

.page-support__contact-form button {
    width: 100%;
    padding: 15px;
    background-color: #C30808;
    color: #FFFF00;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-support__contact-form button:hover {
    background-color: #e02a2a;
}

/* Conclusion Section */
.page-support__conclusion-section {
    padding: 60px 20px;
    text-align: center;
}

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

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-support__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: 400px;
    }
    .page-support__hero-title {
        font-size: 2.5em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary {
        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;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__channels-grid,
    .page-support__tech-support-grid,
    .page-support__responsibility-grid {
        grid-template-columns: 1fr;
    }
    .page-support__channel-card,
    .page-support__tech-card,
    .page-support__responsibility-card {
        padding: 20px;
    }

    /* Mobile image and video 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__hero-section,
    .page-support__video-section,
    .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,
    .page-support__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* Specific padding-top for sections that might be first or have fixed headers */
    .page-support__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 2em;
    }
    .page-support__hero-description {
        font-size: 0.9em;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary {
        font-size: 1em;
        padding: 12px 20px;
    }
    .page-support__form-title {
        font-size: 1.5em;
    }
    .page-support__contact-form-wrapper {
        padding: 20px;
    }
}