/* style/support.css */
/* Base styles for the support page */
.page-support {
    font-family: 'Arial', sans-serif;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    line-height: 1.6;
    font-size: 1rem;
}

/* Section styling */
.page-support__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom */
    overflow: hidden; /* Ensure no overflow from image */
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for hero image */
}

.page-support__hero-content {
    max-width: 900px;
    margin-top: 40px; /* Space between image and content */
}

.page-support__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-support__description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-support__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6; /* Text Main */
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-support__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-support__btn-secondary {
    background: transparent;
    color: #2AD16F; /* Main brand color for text */
    border: 2px solid #2AD16F; /* Border color from button gradient start */
}

.page-support__btn-secondary:hover {
    background: rgba(42, 209, 111, 0.1);
    transform: translateY(-2px);
}

.page-support__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__section-intro {
    font-size: 1.05em;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-support__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-support__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 20px 25px;
    border: 1px solid #2E7A4E; /* Border */
    color: #F2FFF6; /* Text Main */
    transition: background-color 0.3s ease;
}

.page-support__faq-item:hover {
    background-color: #0A4B2C; /* Deep Green */
}

.page-support__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.15em;
    color: #F2FFF6; /* Text Main */
    list-style: none; /* Remove default marker */
}

.page-support__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for webkit browsers */
}

.page-support__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 20px;
    text-align: center;
    color: #2AD16F; /* Main brand color */
}

.page-support__faq-answer {
    padding-top: 15px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    border-top: 1px solid #1E3A2A; /* Divider */
    margin-top: 15px;
}

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

.page-support__faq-answer a {
    color: #57E38D; /* Glow */
    text-decoration: none;
}

.page-support__faq-answer a:hover {
    text-decoration: underline;
}

/* Quick Guides Section */
.page-support__guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-support__card {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #2E7A4E; /* Border */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-support__card-title {
    font-size: 1.25em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    padding: 15px 20px 0;
    margin-bottom: 10px;
}

.page-support__card-title a {
    color: inherit;
    text-decoration: none;
}

.page-support__card-title a:hover {
    color: #57E38D; /* Glow */
}

.page-support__card-description {
    font-size: 0.95em;
    color: #A7D9B8; /* Text Secondary */
    padding: 0 20px 15px;
    flex-grow: 1;
}

.page-support__card-button {
    margin: 0 20px 20px;
    width: calc(100% - 40px); /* Adjust width to fit padding */
}

/* Contact Section */
.page-support__contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-support__contact-item {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 30px 20px;
    border: 1px solid #2E7A4E; /* Border */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-support__contact-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-support__contact-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

.page-support__contact-description {
    font-size: 0.95em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
}

/* Additional Resources Section */
.page-support__resource-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.page-support__resource-list li {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 15px 20px;
    font-size: 1.05em;
    color: #A7D9B8; /* Text Secondary */
    transition: background-color 0.3s ease;
}

.page-support__resource-list li:hover {
    background-color: #0A4B2C; /* Deep Green */
}

.page-support__resource-list li a {
    color: #57E38D; /* Glow */
    text-decoration: none;
    font-weight: bold;
}

.page-support__resource-list li a:hover {
    text-decoration: underline;
}

.page-support__cta-bottom {
    text-align: center;
    margin-top: 60px;
}


/* Responsive styles */
@media (max-width: 1024px) {
    .page-support__hero-image {
        max-height: 500px;
    }

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

    .page-support__main-title {
        font-size: clamp(1.8em, 4.5vw, 2.8em);
    }

    .page-support__section-title {
        font-size: clamp(1.6em, 4vw, 2.2em);
    }

    .page-support__faq-item summary {
        font-size: 1.1em;
    }
}

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

    .page-support__hero-section {
        padding: 10px 15px 40px;
    }

    .page-support__hero-image {
        max-height: 400px;
    }

    .page-support__hero-content {
        margin-top: 30px;
    }

    .page-support__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }

    .page-support__description {
        font-size: 1em;
    }

    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-support__section {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-support__section-title {
        font-size: clamp(1.4em, 5vw, 2em);
    }

    .page-support__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-support__faq-item {
        padding: 15px 20px;
    }

    .page-support__faq-item summary {
        font-size: 1em;
    }

    .page-support__faq-answer {
        font-size: 0.9em;
        padding-top: 10px;
        margin-top: 10px;
    }

    .page-support__guide-cards,
    .page-support__contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-support__card-image {
        height: 180px;
    }

    .page-support__card-title {
        font-size: 1.1em;
        padding: 10px 15px 0;
    }

    .page-support__card-description {
        font-size: 0.85em;
        padding: 0 15px 10px;
    }

    .page-support__card-button {
        margin: 0 15px 15px;
        width: calc(100% - 30px);
    }

    .page-support__contact-icon {
        width: 70px;
        height: 70px;
    }

    .page-support__contact-title {
        font-size: 1.15em;
    }

    .page-support__contact-description {
        font-size: 0.85em;
    }

    .page-support__resource-list li {
        padding: 12px 15px;
        font-size: 0.95em;
    }
    
    /* Image responsive rules */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-support__hero-image,
    .page-support__card-image,
    .page-support__contact-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; 
    }

    .page-support__section,
    .page-support__card,
    .page-support__contact-item,
    .page-support__resource-list li {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Video responsive rules - though no video is planned, keep the structure */
    .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-section {
        padding-top: 10px !important;
    }
    .page-support__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Contrast Fixes - if needed */
.page-support__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-support__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}

/* Ensure links are readable */
.page-support a {
    color: #57E38D; /* Glow */
}
.page-support a:hover {
    color: #F2C14E; /* Gold */
}