/* style/resources-deposit-withdrawal-guide.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark-bg: #FFFFFF;
    --text-color-light-bg: #333333;
    --button-register-bg: #C30808;
    --button-login-bg: #C30808;
    --button-register-text: #FFFF00;
    --button-login-text: #FFFF00;
}

.page-resources-deposit-withdrawal-guide {
    color: var(--text-color-dark-bg); /* Default text color for dark body background */
    background-color: #1a1a1a; /* Inherited from body, but explicitly set for clarity */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-resources-deposit-withdrawal-guide__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color-dark-bg);
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    overflow: hidden;
    background-color: var(--primary-color);
}

.page-resources-deposit-withdrawal-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.4; /* Slightly dim the image to make text readable */
}

.page-resources-deposit-withdrawal-guide__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-resources-deposit-withdrawal-guide__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-resources-deposit-withdrawal-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-resources-deposit-withdrawal-guide__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-deposit-withdrawal-guide__btn-primary,
.page-resources-deposit-withdrawal-guide__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-deposit-withdrawal-guide__btn-primary {
    background-color: var(--button-register-bg);
    color: var(--button-register-text);
    border: 2px solid var(--button-register-bg);
}

.page-resources-deposit-withdrawal-guide__btn-primary:hover {
    background-color: darken(var(--button-register-bg), 10%);
    border-color: darken(var(--button-register-bg), 10%);
}

.page-resources-deposit-withdrawal-guide__btn-secondary {
    background-color: var(--button-login-bg);
    color: var(--button-login-text);
    border: 2px solid var(--button-login-bg);
}

.page-resources-deposit-withdrawal-guide__btn-secondary:hover {
    background-color: darken(var(--button-login-bg), 10%);
    border-color: darken(var(--button-login-bg), 10%);
}

.page-resources-deposit-withdrawal-guide__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--secondary-color); /* Light background for content area */
    color: var(--text-color-light-bg); /* Dark text for light background */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin-top: -60px; /* Overlap with hero section slightly */
    position: relative;
    z-index: 3;
}

.page-resources-deposit-withdrawal-guide__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    padding-top: 20px;
}

.page-resources-deposit-withdrawal-guide__sub-section-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.page-resources-deposit-withdrawal-guide__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-color-light-bg);
}

.page-resources-deposit-withdrawal-guide__text-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-deposit-withdrawal-guide__text-block a:hover {
    text-decoration: underline;
}

.page-resources-deposit-withdrawal-guide__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-resources-deposit-withdrawal-guide__card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: var(--text-color-light-bg);
}

.page-resources-deposit-withdrawal-guide__card:hover {
    transform: translateY(-5px);
}

.page-resources-deposit-withdrawal-guide__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-deposit-withdrawal-guide__card-text {
    font-size: 1em;
    line-height: 1.7;
}

.page-resources-deposit-withdrawal-guide__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    min-height: 200px;
}

.page-resources-deposit-withdrawal-guide__ordered-list,
.page-resources-deposit-withdrawal-guide__unordered-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-resources-deposit-withdrawal-guide__ordered-list {
    counter-reset: item;
}

.page-resources-deposit-withdrawal-guide__list-item {
    position: relative;
    margin-bottom: 15px;
    padding-left: 30px;
    font-size: 1.1em;
    color: var(--text-color-light-bg);
}

.page-resources-deposit-withdrawal-guide__ordered-list .page-resources-deposit-withdrawal-guide__list-item::before {
    content: counter(item) ".";
    counter-increment: item;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
}

.page-resources-deposit-withdrawal-guide__unordered-list .page-resources-deposit-withdrawal-guide__list-item::before {
    content: "\2022"; /* Bullet point */
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
}

.page-resources-deposit-withdrawal-guide__faq-list {
    margin-top: 40px;
}

.page-resources-deposit-withdrawal-guide__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-color-light-bg);
}

.page-resources-deposit-withdrawal-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.page-resources-deposit-withdrawal-guide__faq-question:hover {
    background-color: #e5e5e5;
}

.page-resources-deposit-withdrawal-guide__faq-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin: 0;
}

.page-resources-deposit-withdrawal-guide__faq-toggle {
    font-size: 1.8em;
    color: var(--primary-color);
    font-weight: bold;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-deposit-withdrawal-guide__faq-item.active .page-resources-deposit-withdrawal-guide__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-resources-deposit-withdrawal-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-deposit-withdrawal-guide__faq-item.active .page-resources-deposit-withdrawal-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-resources-deposit-withdrawal-guide__faq-answer p {
    margin-bottom: 0;
    color: var(--text-color-light-bg);
}

.page-resources-deposit-withdrawal-guide__cta-banner {
    position: relative;
    margin-top: 60px;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    color: var(--secondary-color);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-resources-deposit-withdrawal-guide__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
}

.page-resources-deposit-withdrawal-guide__cta-overlay {
    position: relative;
    z-index: 2;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    max-width: 800px;
}

.page-resources-deposit-withdrawal-guide__cta-title {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-resources-deposit-withdrawal-guide__cta-text {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-deposit-withdrawal-guide__hero-title {
        font-size: 2.5em;
    }
    .page-resources-deposit-withdrawal-guide__section-title {
        font-size: 2em;
    }
    .page-resources-deposit-withdrawal-guide__sub-section-title {
        font-size: 1.7em;
    }
    .page-resources-deposit-withdrawal-guide__cta-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-resources-deposit-withdrawal-guide {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-deposit-withdrawal-guide__hero-section {
        min-height: 500px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources-deposit-withdrawal-guide__hero-title {
        font-size: 2em;
    }
    .page-resources-deposit-withdrawal-guide__hero-description {
        font-size: 1em;
    }
    .page-resources-deposit-withdrawal-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-deposit-withdrawal-guide__btn-primary,
    .page-resources-deposit-withdrawal-guide__btn-secondary {
        padding: 12px 20px;
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-resources-deposit-withdrawal-guide__content-area {
        padding: 20px 15px;
        margin-top: -30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-deposit-withdrawal-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-resources-deposit-withdrawal-guide__sub-section-title {
        font-size: 1.5em;
        margin-top: 30px;
    }
    .page-resources-deposit-withdrawal-guide__cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources-deposit-withdrawal-guide__card {
        padding: 20px;
    }
    .page-resources-deposit-withdrawal-guide__content-image {
        margin: 30px auto;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
        box-sizing: border-box !important;
    }
    .page-resources-deposit-withdrawal-guide__faq-question {
        padding: 15px 20px;
    }
    .page-resources-deposit-withdrawal-guide__faq-title {
        font-size: 1.1em;
    }
    .page-resources-deposit-withdrawal-guide__faq-answer {
        padding: 0 20px;
    }
    .page-resources-deposit-withdrawal-guide__faq-item.active .page-resources-deposit-withdrawal-guide__faq-answer {
        padding: 10px 20px;
    }
    .page-resources-deposit-withdrawal-guide__cta-banner {
        min-height: 200px;
        margin-top: 40px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-deposit-withdrawal-guide__cta-overlay {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-deposit-withdrawal-guide__cta-title {
        font-size: 1.5em;
    }
    .page-resources-deposit-withdrawal-guide__cta-text {
        font-size: 0.9em;
    }
    .page-resources-deposit-withdrawal-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-deposit-withdrawal-guide__section,
    .page-resources-deposit-withdrawal-guide__card,
    .page-resources-deposit-withdrawal-guide__container,
    .page-resources-deposit-withdrawal-guide__video-section,
    .page-resources-deposit-withdrawal-guide__video-container,
    .page-resources-deposit-withdrawal-guide__video-wrapper,
    .page-resources-deposit-withdrawal-guide__cta-buttons,
    .page-resources-deposit-withdrawal-guide__button-group,
    .page-resources-deposit-withdrawal-guide__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-resources-deposit-withdrawal-guide__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-resources-deposit-withdrawal-guide__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}