/* style/resources-viva88-account-security.css */

/* Base Styles */
.page-resources-viva88-account-security {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

.page-resources-viva88-account-security__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-viva88-account-security__section-title,
.page-resources-viva88-account-security__sub-title {
    color: #017439; /* Brand green for titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-resources-viva88-account-security__section-title {
    font-size: 2.5em;
    margin-top: 60px;
}

.page-resources-viva88-account-security__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    text-align: left;
    color: #017439;
}

.page-resources-viva88-account-security__paragraph {
    margin-bottom: 15px;
    color: #333333; /* Darker text for light background content area */
}

.page-resources-viva88-account-security__paragraph a {
    color: #017439; /* Brand green for links */
    text-decoration: underline;
}

.page-resources-viva88-account-security__list,
.page-resources-viva88-account-security__feature-list,
.page-resources-viva88-account-security__tip-list,
.page-resources-viva88-account-security__document-list,
.page-resources-viva88-account-security__verification-steps,
.page-resources-viva88-account-security__contact-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #333333; /* Darker text for light background content area */
}

.page-resources-viva88-account-security__list li,
.page-resources-viva88-account-security__feature-list li,
.page-resources-viva88-account-security__tip-list li,
.page-resources-viva88-account-security__document-list li,
.page-resources-viva88-account-security__verification-steps li,
.page-resources-viva88-account-security__contact-list li {
    margin-bottom: 10px;
}

/* Hero Section */
.page-resources-viva88-account-security__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0; /* Rely on body padding-top from shared.css */
    background-color: #017439; /* Brand color for hero background */
    color: #ffffff;
}

.page-resources-viva88-account-security__hero-section .page-resources-viva88-account-security__container {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.page-resources-viva88-account-security__hero-content {
    flex: 1;
    text-align: left;
}

.page-resources-viva88-account-security__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-resources-viva88-account-security__intro-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-viva88-account-security__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources-viva88-account-security__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* Buttons */
.page-resources-viva88-account-security__btn-primary,
.page-resources-viva88-account-security__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    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;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-viva88-account-security__btn-primary {
    background-color: #C30808; /* Login/Register red */
    color: #FFFF00; /* Login/Register font yellow */
    border: 2px solid #C30808;
    margin-right: 15px;
}

.page-resources-viva88-account-security__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-resources-viva88-account-security__btn-secondary {
    background-color: #ffffff;
    color: #017439; /* Brand green */
    border: 2px solid #017439;
}

.page-resources-viva88-account-security__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #005a2d;
    border-color: #005a2d;
}

.page-resources-viva88-account-security__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
    justify-content: center;
}

.page-resources-viva88-account-security__text-link {
    color: #017439;
    text-decoration: underline;
}

/* Content Area */
.page-resources-viva88-account-security__content-area {
    background-color: #ffffff; /* White background for main content */
    color: #333333; /* Dark text for white background */
    padding: 60px 20px;
}

.page-resources-viva88-account-security__content-area h3 {
    color: #017439;
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-viva88-account-security__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-resources-viva88-account-security__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* FAQ Section */
.page-resources-viva88-account-security__faq-container {
    margin-top: 40px;
    border-top: 1px solid #eee;
}

.page-resources-viva88-account-security__faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.page-resources-viva88-account-security__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: #333333;
    transition: color 0.3s ease;
}

.page-resources-viva88-account-security__faq-question:hover {
    color: #017439;
}

.page-resources-viva88-account-security__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #017439;
}

.page-resources-viva88-account-security__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

.page-resources-viva88-account-security__faq-item.active .page-resources-viva88-account-security__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to accommodate content */
    padding: 15px;
}

.page-resources-viva88-account-security__faq-item.active .page-resources-viva88-account-security__faq-toggle {
    transform: rotate(0deg);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-viva88-account-security__hero-section .page-resources-viva88-account-security__container {
        flex-direction: column;
        text-align: center;
    }
    .page-resources-viva88-account-security__hero-content {
        text-align: center;
    }
    .page-resources-viva88-account-security__main-title {
        font-size: 2.8em;
    }
    .page-resources-viva88-account-security__hero-image-wrapper {
        margin-top: 30px;
    }
    .page-resources-viva88-account-security__section-title {
        font-size: 2em;
    }
    .page-resources-viva88-account-security__sub-title {
        font-size: 1.5em;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-resources-viva88-account-security {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-viva88-account-security__main-title {
        font-size: 2.2em;
    }
    .page-resources-viva88-account-security__intro-description {
        font-size: 1em;
    }
    .page-resources-viva88-account-security__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .page-resources-viva88-account-security__sub-title {
        font-size: 1.3em;
        margin-top: 30px;
        margin-bottom: 10px;
    }

    /* Fixed Header Offset for mobile if not handled by shared body */
    .page-resources-viva88-account-security__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    }

    /* Mobile image responsive adaptation */
    .page-resources-viva88-account-security img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-viva88-account-security__image-wrapper,
    .page-resources-viva88-account-security__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-resources-viva88-account-security__container,
    .page-resources-viva88-account-security__content-area {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile button responsive adaptation */
    .page-resources-viva88-account-security__btn-primary,
    .page-resources-viva88-account-security__btn-secondary,
    .page-resources-viva88-account-security a[class*="button"],
    .page-resources-viva88-account-security 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;
        margin-right: 0 !important; /* Remove margin for stacked buttons */
    }
    .page-resources-viva88-account-security__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ensure content area does not cause horizontal scroll */
    .page-resources-viva88-account-security__content-area {
        overflow-x: hidden;
    }
}