/* style/deposit-withdrawal-faq.css */

/* Biến CSS */
:root {
    --page-deposit-withdrawal-faq-primary-color: #1A202C;
    --page-deposit-withdrawal-faq-secondary-color: #FFD700;
    --page-deposit-withdrawal-faq-text-light: #F0F0F0;
    --page-deposit-withdrawal-faq-text-dark: #1A202C;
    --page-deposit-withdrawal-faq-background-light: #FFFFFF;
    --page-deposit-withdrawal-faq-background-dark: #1A202C;
    --page-deposit-withdrawal-faq-border-color: #4A5568;
}

.page-deposit-withdrawal-faq {
    font-family: 'Arial', sans-serif;
    color: var(--page-deposit-withdrawal-faq-text-dark); /* Default text color for light background */
    background-color: var(--page-deposit-withdrawal-faq-background-light);
}

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

/* Hero Section */
.page-deposit-withdrawal-faq__hero-section {
    background: linear-gradient(135deg, var(--page-deposit-withdrawal-faq-background-dark), var(--page-deposit-withdrawal-faq-secondary-color));
    color: var(--page-deposit-withdrawal-faq-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-deposit-withdrawal-faq__hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    transform: rotate(45deg);
    z-index: 0;
}

.page-deposit-withdrawal-faq__hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-color: rgba(26, 32, 44, 0.1);
    border-radius: 50%;
    transform: rotate(-30deg);
    z-index: 0;
}

.page-deposit-withdrawal-faq__hero-section .page-deposit-withdrawal-faq__container {
    position: relative;
    z-index: 1;
}

.page-deposit-withdrawal-faq__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: var(--page-deposit-withdrawal-faq-text-light);
}

.page-deposit-withdrawal-faq__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.page-deposit-withdrawal-faq__cta-button {
    display: inline-block;
    background-color: var(--page-deposit-withdrawal-faq-secondary-color);
    color: var(--page-deposit-withdrawal-faq-text-dark);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.3);
}

.page-deposit-withdrawal-faq__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

/* FAQ Section */
.page-deposit-withdrawal-faq__faq-section {
    padding: 60px 0;
    background-color: var(--page-deposit-withdrawal-faq-background-light);
}

.page-deposit-withdrawal-faq__section-title {
    font-size: 2.5em;
    color: var(--page-deposit-withdrawal-faq-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-deposit-withdrawal-faq__section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--page-deposit-withdrawal-faq-secondary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.page-deposit-withdrawal-faq__intro-text {
    text-align: center;
    font-size: 1.1em;
    color: #4A5568;
    margin-bottom: 50px;
    line-height: 1.6;
}

.page-deposit-withdrawal-faq__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-deposit-withdrawal-faq__question {
    font-size: 1.4em;
    color: var(--page-deposit-withdrawal-faq-primary-color);
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #edf2f7;
    transition: background-color 0.3s ease;
}

.page-deposit-withdrawal-faq__question:hover {
    background-color: #e2e8f0;
}

.page-deposit-withdrawal-faq__question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    color: var(--page-deposit-withdrawal-faq-secondary-color);
    transition: transform 0.3s ease;
}

.page-deposit-withdrawal-faq__faq-item.active .page-deposit-withdrawal-faq__question::after {
    transform: rotate(45deg);
}

.page-deposit-withdrawal-faq__answer {
    padding: 0 25px 20px;
    font-size: 1.1em;
    color: #4A5568;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-deposit-withdrawal-faq__faq-item.active .page-deposit-withdrawal-faq__answer {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 15px;
}

.page-deposit-withdrawal-faq__answer p {
    margin-bottom: 15px;
}

.page-deposit-withdrawal-faq__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Us Section */
.page-deposit-withdrawal-faq__contact-us {
    text-align: center;
    background-color: var(--page-deposit-withdrawal-faq-primary-color);
    color: var(--page-deposit-withdrawal-faq-text-light);
    padding: 50px 30px;
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.page-deposit-withdrawal-faq__contact-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.page-deposit-withdrawal-faq__contact-button {
    display: inline-block;
    background-color: var(--page-deposit-withdrawal-faq-secondary-color);
    color: var(--page-deposit-withdrawal-faq-text-dark);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.3);
}

.page-deposit-withdrawal-faq__contact-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-deposit-withdrawal-faq__main-title {
        font-size: 2.5em;
    }

    .page-deposit-withdrawal-faq__subtitle {
        font-size: 1.1em;
    }

    .page-deposit-withdrawal-faq__section-title {
        font-size: 2em;
    }

    .page-deposit-withdrawal-faq__question {
        font-size: 1.2em;
        padding: 15px 20px;
    }

    .page-deposit-withdrawal-faq__answer {
        font-size: 1em;
        padding: 0 20px 15px;
    }

    .page-deposit-withdrawal-faq__contact-title {
        font-size: 1.8em;
    }

    .page-deposit-withdrawal-faq__cta-button,
    .page-deposit-withdrawal-faq__contact-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-deposit-withdrawal-faq__main-title {
        font-size: 2em;
    }

    .page-deposit-withdrawal-faq__subtitle {
        font-size: 1em;
    }

    .page-deposit-withdrawal-faq__hero-section {
        padding: 60px 0;
    }

    .page-deposit-withdrawal-faq__section-title {
        font-size: 1.8em;
    }
}