/* style/support.css */

/* --- General Styles --- */
.page-support {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: var(--secondary-color); /* #FFFFFF */
}

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

.page-support__section-title {
    font-size: 36px;
    color: #26A9E0; /* Primary color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-support__card {
    background: #ffffff;
    border-radius: 10px;
    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;
    align-items: center;
    color: #333333;
    height: 100%; /* Ensure cards in a grid have equal height */
}

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

.page-support__card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    width: 100%; /* Ensure images fill card width */
    min-height: 200px; /* Minimum image size */
}

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__btn-primary {
    background: #26A9E0; /* Primary color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-support__btn-primary:hover {
    background: #1e87b7;
    border-color: #1e87b7;
    transform: translateY(-2px);
}

.page-support__btn-secondary {
    background: #ffffff;
    color: #26A9E0; /* Primary color */
    border: 2px solid #26A9E0;
}

.page-support__btn-secondary:hover {
    background: #f0f8ff;
    color: #1e87b7;
    border-color: #1e87b7;
    transform: translateY(-2px);
}

.page-support__dark-section {
    background: #26A9E0; /* Primary color background */
    color: #ffffff;
}

.page-support__dark-section .page-support__section-title,
.page-support__dark-section .page-support__section-description {
    color: #ffffff;
}

/* --- 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); /* Fixed header spacing */
    overflow: hidden; /* Prevent image overflow */
}

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

.page-support__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-support__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

.page-support__hero-content {
    text-align: center;
    width: 100%;
}

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

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

.page-support__cta-button {
    background: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-support__cta-button:hover {
    background: #d46b00;
    border-color: #d46b00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- Contact Methods Section --- */
.page-support__contact-methods {
    background-color: #f8f8f8;
}

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

.page-support__contact-item .page-support__contact-title {
    font-size: 24px;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-support__contact-item .page-support__contact-text {
    font-size: 16px;
    color: #666666;
    flex-grow: 1; /* Push button to bottom */
}

/* --- FAQ Section --- */
.page-support__faq-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-support__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.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 15px;
    opacity: 0;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 2000px !important; /* Ensure content fits */
    padding: 20px 15px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 5px 5px;
    color: #ffffff;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    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: #d0d0d0;
}

.page-support__faq-question:active {
    background: #eeeeee;
}

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

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

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

.page-support__faq-image {
    display: block;
    margin: 40px auto 0 auto;
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 8px;
    object-fit: cover;
    min-height: 200px;
}


/* --- Guides Section --- */
.page-support__guides-section {
    background-color: #f0f8ff; /* Light blue background */
}

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

.page-support__guide-card {
    text-decoration: none;
    color: #333333;
}

.page-support__guide-card img {
    height: 200px; /* Consistent height for guide images */
    object-fit: cover;
}

.page-support__guide-title {
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-support__guide-text {
    font-size: 15px;
    color: #666666;
}

/* --- Security Section --- */
.page-support__security-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-support__security-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: #ffffff;
}

.page-support__security-subtitle {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-support__security-item p {
    font-size: 16px;
    color: #f0f0f0;
}

.page-support__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-support__security-section .page-support__btn-secondary {
    margin-top: 0;
    border-color: #ffffff;
    color: #ffffff;
}

.page-support__security-section .page-support__btn-secondary:hover {
    background: #ffffff;
    color: #26A9E0;
}

.page-support__security-image {
    display: block;
    margin: 40px auto 0 auto;
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 8px;
    object-fit: cover;
    min-height: 200px;
}


/* --- CTA Section --- */
.page-support__cta-section {
    background-color: #f8f8f8;
    padding-bottom: 80px;
}

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

.page-support__cta-section .page-support__cta-button {
    margin-top: 0;
}

.page-support__cta-section .page-support__btn-secondary {
    background: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-support__cta-section .page-support__btn-secondary:hover {
    background: #26A9E0;
    color: #ffffff;
}

.page-support__cta-image {
    display: block;
    margin: 40px auto 0 auto;
    width: 100%;
    height: auto;
    max-width: 1200px;
    border-radius: 8px;
    object-fit: cover;
    min-height: 200px;
}


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

    .page-support__section-title {
        font-size: 30px;
    }
}

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

    .page-support__container {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Fixed header spacing for mobile */
    .page-support__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-support__hero-description {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .page-support__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-support__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-support__contact-grid,
    .page-support__guides-grid,
    .page-support__security-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__card {
        padding: 20px;
    }

    .page-support__card img {
        min- /* Adjust min-height for mobile if needed */
    }

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

    /* Images Mobile */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px; /* Ensure images are not too small even on mobile */
    }

    /* Buttons Mobile */
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__cta-button {
        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__cta-buttons,
    .page-support__button-group {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
}