/* style/support.css */

/* --- General Page Styles --- */
.page-support {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light body background #f4f4f4 */
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom for overall spacing */
}

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

.page-support__section {
    padding: 60px 0;
    text-align: center;
}

.page-support__section:nth-of-type(even) {
    background-color: #f9f9f9; /* Slightly different background for visual separation */
}

.page-support__section-title {
    font-size: 36px;
    color: #8B0000; /* Dark Red for titles */
    margin-bottom: 20px;
    font-weight: 700;
}

.page-support__section-description {
    font-size: 18px;
    color: #555555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Hero Section --- */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    background: linear-gradient(135deg, #FFD700, #8B0000); /* Brand colors for hero background */
    color: #ffffff; /* White text on dark/gradient background */
    overflow: hidden;
}

.page-support__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-support__hero-image {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.page-support__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-support__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
    margin-top: -80px;
    padding-top: 100px;
}

.page-support__main-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFD700; /* Gold for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__intro-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFD700; /* Gold button */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* --- Grid Layout for Cards --- */
.page-support__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support__card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px;
    color: #333333;
}

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

.page-support__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    min-width: 200px;
    min-height: 200px;
}

.page-support__card-title {
    font-size: 24px;
    color: #8B0000;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-support__card-title a {
    color: #8B0000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__card-title a:hover {
    color: #FFD700;
}

.page-support__card-text {
    font-size: 16px;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-support__btn-primary:hover {
    background: #e6c200;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-support__btn-secondary:hover {
    background: #8B0000;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- FAQ Section --- */
.page-support__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fdfdfd;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: #333333;
}

.page-support__faq-question:hover {
    background: #f5f5f5;
    border-color: #dddddd;
}

.page-support__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #8B0000;
}

.page-support__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-support__faq-item.active .page-support__faq-toggle {
    color: #8B0000;
    transform: rotate(45deg);
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    text-align: left;
    color: #555555;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    background: #fefefe;
    border-top: 1px dashed #eeeeee;
    border-radius: 0 0 8px 8px;
}

.page-support__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

/* --- Feedback Form Section --- */
.page-support__feedback-form {
    margin-top: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
}

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

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

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

.page-support__form-input::placeholder,
.page-support__form-textarea::placeholder {
    color: #aaaaaa;
}

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

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

/* --- Image specific styles, ensuring no filters are used and min size --- */
.page-support img {
    filter: none !important;
    -webkit-filter: none !important;
    min-width: 200px;
    min-height: 200px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-support__section-title {
        font-size: 32px;
    }
    .page-support__section-description {
        font-size: 17px;
    }
    .page-support__main-title {
        font-size: 40px;
    }
    .page-support__intro-description {
        font-size: 18px;
    }
    .page-support__card-title {
        font-size: 22px;
    }
    .page-support__card-text {
        font-size: 15px;
    }
    .page-support__faq-question h3 {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__hero-image {
        margin-bottom: 20px;
    }
    .page-support__hero-image img {
        border-radius: 8px;
    }
    .page-support__hero-content {
        margin-top: -60px;
        padding-top: 80px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-support__intro-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-support__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-support__section {
        padding: 40px 0;
    }
    .page-support__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-support__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .page-support__container {
        padding: 0 15px;
    }

    .page-support__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__card {
        padding: 25px;
        min-height: auto;
    }
    .page-support__card-image {
        height: 180px;
        min-width: 200px;
        min-height: 200px;
    }
    .page-support__card-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .page-support__card-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

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

    /* FAQ Mobile Styles */
    .page-support__faq-question {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    .page-support__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-support__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    .page-support__faq-answer {
        padding: 0 20px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px 20px !important;
    }
    .page-support__faq-answer p {
        font-size: 15px;
    }

    /* Form Mobile Styles */
    .page-support__feedback-form {
        padding: 30px 20px;
    }
    .page-support__form-label {
        font-size: 15px;
    }
    .page-support__form-input,
    .page-support__form-textarea {
        padding: 10px 12px;
        font-size: 15px;
    }
    
    /* Global image responsive styles for content area */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px;
        min-height: 200px;
    }
    
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__feedback-form,
    .page-support__hero-section,
    .page-support__hero-container,
    .page-support__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Ensure all images within .page-support are at least 200px wide/high */
.page-support img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}