/* style/support.css */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background #0a0a0a, so light text */
    background-color: transparent; /* Inherit from body or shared */
}

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

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

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px); /* Ensure header offset */
    background-color: #017439; /* Brand color for hero background */
    overflow: hidden;
}

.page-support__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    color: #ffffff;
    padding: 20px;
}

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

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

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

.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;
    max-width: 100%;
}

.page-support__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

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

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

.page-support__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

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

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay effect */
    display: block;
}

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

.page-support__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 960px; /* Max width for video */
    margin: 0 auto;
    background-color: #000;
    border-radius: 10px;
}

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

.page-support__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Why Choose Section */
.page-support__why-choose-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

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

.page-support__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__feature-icon {
    width: 100%; /* Ensure large image, not small icon */
    max-width: 250px; /* Example max-width for feature icons */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
}

.page-support__feature-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__feature-text {
    color: #f0f0f0;
    font-size: 1em;
}

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Body background */
}

.page-support__faq-category {
    margin-bottom: 40px;
}

.page-support__faq-category-title {
    font-size: 2em;
    color: #017439; /* Brand color for category title */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for items */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439; /* Brand color for toggle */
}

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

.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 to show content */
    padding: 15px 25px 20px;
}

.page-support__faq-answer p {
    margin-bottom: 0;
    color: #f0f0f0;
}

/* Contact Section */
.page-support__contact-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

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

.page-support__contact-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__contact-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.page-support__contact-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__contact-text {
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support__social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.page-support__social-icon {
    color: #ffffff;
    background-color: #017439;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-support__social-icon:hover {
    background-color: #005a2b;
}

/* Resources Section */
.page-support__resources-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Body background */
}

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

.page-support__resource-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.page-support__resource-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

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

.page-support__resource-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__resource-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__resource-title a:hover {
    color: #017439;
}

.page-support__resource-text {
    color: #f0f0f0;
    font-size: 0.95em;
    flex-grow: 1;
}

/* Call to Action Section */
.page-support__cta-section {
    padding: 80px 0;
    background-color: #017439; /* Brand color */
    text-align: center;
}

.page-support__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-support__btn-large:hover {
    background-color: #a00606;
    border-color: #a00606;
}

/* Responsive Design */
@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) {
    .page-support__hero-section {
        min-height: 60vh;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-description {
        font-size: 0.95em;
    }
    .page-support__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-large,
    .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;
    }
    .page-support__features-grid,
    .page-support__contact-grid,
    .page-support__resource-grid {
        grid-template-columns: 1fr;
    }
    .page-support__feature-icon,
    .page-support__contact-icon {
        max-width: 150px;
    }

    /* Mobile image and video responsive */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-support video,
    .page-support__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-support__container,
    .page-support__hero-content,
    .page-support__video-section,
    .page-support__video-container,
    .page-support__video-wrapper,
    .page-support__why-choose-section,
    .page-support__faq-section,
    .page-support__contact-section,
    .page-support__resources-section,
    .page-support__cta-section,
    .page-support__feature-card,
    .page-support__contact-card,
    .page-support__resource-card,
    .page-support__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important;
    }

    .page-support__video-wrapper {
        padding-bottom: 56.25% !important;
    }

    .page-support__social-links {
        flex-direction: column;
        gap: 10px;
    }

    .page-support__social-icon {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__section-title {
        font-size: 1.5em;
    }
    .page-support__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-support__faq-answer {
        padding: 10px 20px 15px;
    }
}