/* style/faq-deposit-withdrawal.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --red-cta: #C30808;
    --yellow-text: #FFFF00;
    --bg-light: #f8f9fa;
}

.page-faq-deposit-withdrawal {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.page-faq-deposit-withdrawal__hero-section {
    position: relative;
    width: 100%;
    padding: 100px 20px 60px; /* Adjusted for header offset on desktop */
    padding-top: var(--header-offset, 120px);
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-faq-deposit-withdrawal__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-faq-deposit-withdrawal__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-faq-deposit-withdrawal__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-faq-deposit-withdrawal__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.page-faq-deposit-withdrawal__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-faq-deposit-withdrawal__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

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

.page-faq-deposit-withdrawal__btn-primary {
    background-color: var(--red-cta);
    color: var(--yellow-text);
    border: 2px solid var(--red-cta);
}

.page-faq-deposit-withdrawal__btn-primary:hover {
    background-color: #e00b0b;
    border-color: #e00b0b;
}

.page-faq-deposit-withdrawal__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-faq-deposit-withdrawal__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    border-color: var(--text-light);
}

.page-faq-deposit-withdrawal__overview-section,
.page-faq-deposit-withdrawal__faq-section,
.page-faq-deposit-withdrawal__tips-section,
.page-faq-deposit-withdrawal__contact-cta {
    padding: 60px 0;
}

.page-faq-deposit-withdrawal__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.page-faq-deposit-withdrawal__overview-section .page-faq-deposit-withdrawal__section-title {
    color: var(--primary-color);
}

.page-faq-deposit-withdrawal__faq-section .page-faq-deposit-withdrawal__section-title {
    color: var(--primary-color);
}

.page-faq-deposit-withdrawal__tips-section .page-faq-deposit-withdrawal__section-title {
    color: var(--text-light);
}

.page-faq-deposit-withdrawal__contact-cta .page-faq-deposit-withdrawal__section-title {
    color: var(--primary-color);
}

.page-faq-deposit-withdrawal__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-faq-deposit-withdrawal__text-content {
    flex: 1;
}

.page-faq-deposit-withdrawal__text-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: var(--text-dark);
}

.page-faq-deposit-withdrawal__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-faq-deposit-withdrawal__image-wrapper--center {
    margin-top: 40px;
    flex: none;
    width: 100%;
}

.page-faq-deposit-withdrawal__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: block;
}

.page-faq-deposit-withdrawal__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-faq-deposit-withdrawal__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-faq-deposit-withdrawal__faq-item[open] {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-faq-deposit-withdrawal__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}

.page-faq-deposit-withdrawal__faq-item[open] .page-faq-deposit-withdrawal__faq-question {
    border-bottom: 1px solid transparent; /* Hide border when open */
}

.page-faq-deposit-withdrawal__faq-question::-webkit-details-marker,
.page-faq-deposit-withdrawal__faq-question::marker {
    display: none;
}

.page-faq-deposit-withdrawal__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.page-faq-deposit-withdrawal__faq-item[open] .page-faq-deposit-withdrawal__faq-toggle {
    transform: rotate(0deg);
}

.page-faq-deposit-withdrawal__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: var(--text-dark);
    border-top: 1px solid #e0e0e0;
    background-color: var(--secondary-color);
    animation: fadeIn 0.3s ease-out;
}

.page-faq-deposit-withdrawal__faq-item:not([open]) .page-faq-deposit-withdrawal__faq-answer {
    border-top: none; /* Hide border when closed */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-faq-deposit-withdrawal__tips-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-faq-deposit-withdrawal__tip-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-faq-deposit-withdrawal__tip-item:hover {
    transform: translateY(-5px);
}

.page-faq-deposit-withdrawal__tip-title {
    font-size: 1.4em;
    color: var(--yellow-text);
    margin-bottom: 10px;
}

.page-faq-deposit-withdrawal__tip-item p {
    font-size: 0.95em;
    color: var(--text-light);
}

.page-faq-deposit-withdrawal__contact-cta {
    text-align: center;
    padding-bottom: 80px;
}

.page-faq-deposit-withdrawal__contact-text {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1em;
    color: var(--text-dark);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-faq-deposit-withdrawal__main-title {
        font-size: 2.2em;
    }

    .page-faq-deposit-withdrawal__section-title {
        font-size: 1.8em;
    }

    .page-faq-deposit-withdrawal__content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .page-faq-deposit-withdrawal__image-wrapper {
        margin-top: 30px;
    }

    .page-faq-deposit-withdrawal__tips-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-faq-deposit-withdrawal__hero-section {
        padding: 80px 15px 40px; /* Adjusted for mobile header offset */
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-faq-deposit-withdrawal__main-title {
        font-size: 1.8em;
    }

    .page-faq-deposit-withdrawal__description {
        font-size: 1em;
    }

    .page-faq-deposit-withdrawal__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-faq-deposit-withdrawal__btn-primary,
    .page-faq-deposit-withdrawal__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
    }

    .page-faq-deposit-withdrawal__overview-section,
    .page-faq-deposit-withdrawal__faq-section,
    .page-faq-deposit-withdrawal__tips-section,
    .page-faq-deposit-withdrawal__contact-cta {
        padding: 40px 0;
    }

    .page-faq-deposit-withdrawal__section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }

    .page-faq-deposit-withdrawal__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-faq-deposit-withdrawal__faq-answer {
        padding: 15px;
        font-size: 0.95em;
    }

    .page-faq-deposit-withdrawal__tip-title {
        font-size: 1.2em;
    }

    .page-faq-deposit-withdrawal__contact-text {
        font-size: 1em;
    }

    /* Ensure images are fully responsive */
    .page-faq-deposit-withdrawal img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-faq-deposit-withdrawal__section,
    .page-faq-deposit-withdrawal__card,
    .page-faq-deposit-withdrawal__container,
    .page-faq-deposit-withdrawal__image-wrapper,
    .page-faq-deposit-withdrawal__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    
    .page-faq-deposit-withdrawal__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-faq-deposit-withdrawal__video-section {
        padding-top: var(--header-offset, 120px) !important; /* With shared.css already setting body padding, this might be redundant or for specific video section which is not present here. But good to keep if it were. */
    }
}