/* style/resources-hi88-safe-deposits-withdrawals.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark-bg: #FFFFFF;
    --text-color-light-bg: #333333;
    --accent-red: #C30808;
    --accent-yellow: #FFFF00;
    --body-bg-color: #0a0a0a; /* From prompt: Body background color */
}

.page-resources-hi88-safe-deposits-withdrawals {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark-bg); /* Default text color for dark body background */
    background-color: var(--body-bg-color);
}

.page-resources-hi88-safe-deposits-withdrawals__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-hi88-safe-deposits-withdrawals__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    background-color: #017439; /* Using brand primary color for hero background */
    color: var(--text-color-dark-bg);
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    overflow: hidden;
}

.page-resources-hi88-safe-deposits-withdrawals__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-resources-hi88-safe-deposits-withdrawals__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-color-dark-bg);
    line-height: 1.2;
}

.page-resources-hi88-safe-deposits-withdrawals__description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-resources-hi88-safe-deposits-withdrawals__btn-primary,
.page-resources-hi88-safe-deposits-withdrawals__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-resources-hi88-safe-deposits-withdrawals__btn-primary {
    background-color: var(--accent-red);
    color: var(--accent-yellow); /* Using custom color for button text */
    border: 2px solid var(--accent-red);
    margin-right: 15px;
}

.page-resources-hi88-safe-deposits-withdrawals__btn-primary:hover {
    background-color: darken(#C30808, 10%);
    color: #FFFFFF;
    border-color: darken(#C30808, 10%);
}

.page-resources-hi88-safe-deposits-withdrawals__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-hi88-safe-deposits-withdrawals__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-resources-hi88-safe-deposits-withdrawals__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-resources-hi88-safe-deposits-withdrawals__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.7); /* Adjust brightness for better text contrast, not color change */
}

.page-resources-hi88-safe-deposits-withdrawals__content-section {
    padding: 60px 0;
    background-color: var(--body-bg-color);
    color: var(--text-color-dark-bg);
}

.page-resources-hi88-safe-deposits-withdrawals__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
}

.page-resources-hi88-safe-deposits-withdrawals__section-title {
    font-size: 2.2em;
    color: var(--text-color-dark-bg);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-resources-hi88-safe-deposits-withdrawals__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-red);
    margin: 15px auto 0;
}

.page-resources-hi88-safe-deposits-withdrawals__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: justify;
}

.page-resources-hi88-safe-deposits-withdrawals__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-hi88-safe-deposits-withdrawals__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--text-color-dark-bg);
}

.page-resources-hi88-safe-deposits-withdrawals__feature-card-title {
    font-size: 1.5em;
    color: var(--accent-yellow);
    margin-bottom: 15px;
}

.page-resources-hi88-safe-deposits-withdrawals__image-block {
    text-align: center;
    margin: 40px 0;
}

.page-resources-hi88-safe-deposits-withdrawals__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block; /* Ensures proper max-width behavior */
    margin: 0 auto; /* Center image */
}

.page-resources-hi88-safe-deposits-withdrawals__subsection-title {
    font-size: 1.8em;
    color: var(--text-color-dark-bg);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.page-resources-hi88-safe-deposits-withdrawals__list,
.page-resources-hi88-safe-deposits-withdrawals__step-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 30px;
    color: var(--text-color-dark-bg);
}

.page-resources-hi88-safe-deposits-withdrawals__step-list {
    list-style-type: decimal;
}

.page-resources-hi88-safe-deposits-withdrawals__list li,
.page-resources-hi88-safe-deposits-withdrawals__step-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-resources-hi88-safe-deposits-withdrawals__list strong {
    color: var(--accent-yellow);
}

.page-resources-hi88-safe-deposits-withdrawals__faq-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
}

.page-resources-hi88-safe-deposits-withdrawals__faq-list {
    margin-top: 40px;
}

.page-resources-hi88-safe-deposits-withdrawals__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-resources-hi88-safe-deposits-withdrawals__faq-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-hi88-safe-deposits-withdrawals__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-color-dark-bg);
}

.page-resources-hi88-safe-deposits-withdrawals__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-hi88-safe-deposits-withdrawals__faq-item.active .page-resources-hi88-safe-deposits-withdrawals__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-hi88-safe-deposits-withdrawals__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-color-dark-bg);
}

.page-resources-hi88-safe-deposits-withdrawals__faq-item.active .page-resources-hi88-safe-deposits-withdrawals__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: 15px 25px;
}

.page-resources-hi88-safe-deposits-withdrawals__faq-answer p {
    margin-bottom: 0;
    color: var(--text-color-dark-bg);
}

.page-resources-hi88-safe-deposits-withdrawals__cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-resources-hi88-safe-deposits-withdrawals__conclusion-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--body-bg-color);
    color: var(--text-color-dark-bg);
}

.page-resources-hi88-safe-deposits-withdrawals__conclusion-section .page-resources-hi88-safe-deposits-withdrawals__section-title {
    color: var(--text-color-dark-bg);
}

.page-resources-hi88-safe-deposits-withdrawals__conclusion-section .page-resources-hi88-safe-deposits-withdrawals__text-block {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.15em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-hi88-safe-deposits-withdrawals__main-title {
        font-size: 2.5em;
    }
    .page-resources-hi88-safe-deposits-withdrawals__section-title {
        font-size: 2em;
    }
    .page-resources-hi88-safe-deposits-withdrawals__subsection-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-resources-hi88-safe-deposits-withdrawals__hero-section {
        min-height: 400px;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
    }
    .page-resources-hi88-safe-deposits-withdrawals__main-title {
        font-size: 2em;
    }
    .page-resources-hi88-safe-deposits-withdrawals__description {
        font-size: 1em;
    }
    .page-resources-hi88-safe-deposits-withdrawals__btn-primary,
    .page-resources-hi88-safe-deposits-withdrawals__btn-secondary {
        display: block !important;
        width: 100% !important;
        margin: 15px 0 !important;
        padding: 12px 20px !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-resources-hi88-safe-deposits-withdrawals__hero-content .page-resources-hi88-safe-deposits-withdrawals__btn-primary {
        margin-right: 0 !important;
    }

    .page-resources-hi88-safe-deposits-withdrawals__container {
        padding: 0 15px;
    }
    .page-resources-hi88-safe-deposits-withdrawals__content-section,
    .page-resources-hi88-safe-deposits-withdrawals__faq-section,
    .page-resources-hi88-safe-deposits-withdrawals__conclusion-section {
        padding: 40px 0;
    }
    .page-resources-hi88-safe-deposits-withdrawals__section-title {
        font-size: 1.8em;
    }
    .page-resources-hi88-safe-deposits-withdrawals__subsection-title {
        font-size: 1.4em;
    }
    .page-resources-hi88-safe-deposits-withdrawals__text-block,
    .page-resources-hi88-safe-deposits-withdrawals__list li,
    .page-resources-hi88-safe-deposits-withdrawals__step-list li {
        font-size: 1em;
    }
    .page-resources-hi88-safe-deposits-withdrawals img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-resources-hi88-safe-deposits-withdrawals__hero-image {
        filter: brightness(0.5) !important; /* Darken background image more for better mobile contrast */
    }
    .page-resources-hi88-safe-deposits-withdrawals__video-section,
    .page-resources-hi88-safe-deposits-withdrawals__video-container,
    .page-resources-hi88-safe-deposits-withdrawals__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-resources-hi88-safe-deposits-withdrawals video,
    .page-resources-hi88-safe-deposits-withdrawals__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-hi88-safe-deposits-withdrawals__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px; /* Spacing between stacked buttons */
    }
}

/* Ensure content containers don't cause horizontal scroll */
.page-resources-hi88-safe-deposits-withdrawals__container,
.page-resources-hi88-safe-deposits-withdrawals__hero-section,
.page-resources-hi88-safe-deposits-withdrawals__content-section,
.page-resources-hi88-safe-deposits-withdrawals__faq-section,
.page-resources-hi88-safe-deposits-withdrawals__conclusion-section {
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Links within content */
.page-resources-hi88-safe-deposits-withdrawals a {
    color: var(--accent-yellow);
    text-decoration: underline;
}

.page-resources-hi88-safe-deposits-withdrawals a:hover {
    color: lighten(#FFFF00, 10%);
}

/* Copyright styling */
.page-resources-hi88-safe-deposits-withdrawals__copyright {
    text-align: center;
    padding: 30px 20px;
    background-color: #017439;
    color: #FFFFFF;
    font-size: 0.9em;
    margin-top: 50px;
}