/* style/payment-methods-deposit-tutorial.css */

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

.page-payment-methods-deposit-tutorial {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light); /* Default light background */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-payment-methods-deposit-tutorial__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-payment-methods-deposit-tutorial__section {
    padding: 60px 0;
    text-align: center;
}

.page-payment-methods-deposit-tutorial__dark-bg {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-payment-methods-deposit-tutorial__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-payment-methods-deposit-tutorial__section-title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
    color: inherit; /* Inherit from parent section's color */
}

.page-payment-methods-deposit-tutorial__section-description {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

/* Hero Banner */
.page-payment-methods-deposit-tutorial__hero-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    text-align: center;
}

.page-payment-methods-deposit-tutorial__hero-banner .page-payment-methods-deposit-tutorial__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-payment-methods-deposit-tutorial__hero-content {
    max-width: 800px;
}

.page-payment-methods-deposit-tutorial__main-title {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-payment-methods-deposit-tutorial__intro-text {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-payment-methods-deposit-tutorial__hero-image-wrapper {
    width: 100%;
    max-width: 900px;
}

.page-payment-methods-deposit-tutorial__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* CTA Buttons */
.page-payment-methods-deposit-tutorial__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-payment-methods-deposit-tutorial__cta-button--register {
    background-color: var(--button-register-bg);
    color: var(--button-register-text);
    border: 2px solid var(--button-register-text);
}

.page-payment-methods-deposit-tutorial__cta-button--register:hover {
    background-color: #a30707;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-deposit-tutorial__cta-button--download,
.page-payment-methods-deposit-tutorial__cta-button--deposit,
.page-payment-methods-deposit-tutorial__cta-button--final {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-payment-methods-deposit-tutorial__cta-button--download:hover,
.page-payment-methods-deposit-tutorial__cta-button--deposit:hover,
.page-payment-methods-deposit-tutorial__cta-button--final:hover {
    background-color: #005a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-deposit-tutorial__cta-button--contact {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-payment-methods-deposit-tutorial__cta-button--contact:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Methods Grid */
.page-payment-methods-deposit-tutorial__methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods-deposit-tutorial__method-card {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    color: var(--text-dark);
}

.page-payment-methods-deposit-tutorial__method-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    display: block;
}

.page-payment-methods-deposit-tutorial__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-payment-methods-deposit-tutorial__card-content p {
    margin-bottom: 15px;
    font-size: 16px;
}

.page-payment-methods-deposit-tutorial__step-title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Benefits Section */
.page-payment-methods-deposit-tutorial__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods-deposit-tutorial__benefit-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    color: var(--text-light);
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-payment-methods-deposit-tutorial__benefit-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
}

.page-payment-methods-deposit-tutorial__benefit-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-payment-methods-deposit-tutorial__benefit-item p {
    font-size: 16px;
    line-height: 1.5;
}

.page-payment-methods-deposit-tutorial__button-group {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Promotions Section */
.page-payment-methods-deposit-tutorial__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods-deposit-tutorial__promo-card {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-payment-methods-deposit-tutorial__promo-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-payment-methods-deposit-tutorial__promo-card p {
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-payment-methods-deposit-tutorial__promo-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-payment-methods-deposit-tutorial__promo-link:hover {
    color: #005a2e;
    text-decoration: underline;
}

/* Troubleshooting Section */
.page-payment-methods-deposit-tutorial__troubleshooting-content {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-payment-methods-deposit-tutorial__troubleshooting-text {
    flex: 1;
}

.page-payment-methods-deposit-tutorial__sub-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-payment-methods-deposit-tutorial__troubleshooting-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-payment-methods-deposit-tutorial__troubleshooting-text ul li {
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--text-light);
}

.page-payment-methods-deposit-tutorial__troubleshooting-text p {
    font-size: 17px;
    margin-bottom: 25px;
    color: var(--text-light);
}

.page-payment-methods-deposit-tutorial__troubleshooting-image-wrapper {
    flex: 1;
    min-width: 400px;
}

.page-payment-methods-deposit-tutorial__troubleshooting-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* FAQ Section */
.page-payment-methods-deposit-tutorial__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods-deposit-tutorial__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods-deposit-tutorial__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-dark);
}

.page-payment-methods-deposit-tutorial__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-payment-methods-deposit-tutorial__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-payment-methods-deposit-tutorial__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-payment-methods-deposit-tutorial__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #f9f9f9;
    color: var(--text-dark);
}

.page-payment-methods-deposit-tutorial__faq-answer p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.6;
}

.page-payment-methods-deposit-tutorial__faq-item.active .page-payment-methods-deposit-tutorial__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-payment-methods-deposit-tutorial__faq-item.active .page-payment-methods-deposit-tutorial__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    border-radius: 0 0 8px 8px;
}

.page-payment-methods-deposit-tutorial__faq-item.active .page-payment-methods-deposit-tutorial__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Change to X when active */
}

/* Final Call to Action */
.page-payment-methods-deposit-tutorial__call-to-action {
    padding: 80px 0;
}

.page-payment-methods-deposit-tutorial__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-payment-methods-deposit-tutorial__main-title {
        font-size: 40px;
    }

    .page-payment-methods-deposit-tutorial__section-title {
        font-size: 32px;
    }

    .page-payment-methods-deposit-tutorial__troubleshooting-content {
        flex-direction: column;
        text-align: center;
    }

    .page-payment-methods-deposit-tutorial__troubleshooting-image-wrapper {
        min-width: unset;
        max-width: 600px;
        margin-top: 30px;
    }

    .page-payment-methods-deposit-tutorial__troubleshooting-text ul {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-payment-methods-deposit-tutorial {
        padding-top: var(--header-offset, 120px) !important;
        font-size: 16px;
        line-height: 1.6;
    }

    .page-payment-methods-deposit-tutorial__container {
        padding: 0 15px;
    }

    .page-payment-methods-deposit-tutorial__section {
        padding: 40px 0;
    }

    .page-payment-methods-deposit-tutorial__hero-banner {
        padding: 40px 0;
    }

    .page-payment-methods-deposit-tutorial__main-title {
        font-size: 30px;
    }

    .page-payment-methods-deposit-tutorial__intro-text {
        font-size: 17px;
    }

    .page-payment-methods-deposit-tutorial__section-title {
        font-size: 26px;
    }

    .page-payment-methods-deposit-tutorial__section-description {
        font-size: 16px;
    }

    .page-payment-methods-deposit-tutorial__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-payment-methods-deposit-tutorial__button-group {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    .page-payment-methods-deposit-tutorial__methods-grid,
    .page-payment-methods-deposit-tutorial__benefits-grid,
    .page-payment-methods-deposit-tutorial__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-payment-methods-deposit-tutorial__method-card,
    .page-payment-methods-deposit-tutorial__benefit-item,
    .page-payment-methods-deposit-tutorial__promo-card {
        padding: 20px;
    }

    .page-payment-methods-deposit-tutorial__card-title {
        font-size: 20px;
    }

    .page-payment-methods-deposit-tutorial__step-title {
        font-size: 17px;
    }

    .page-payment-methods-deposit-tutorial__benefit-title {
        font-size: 20px;
    }

    .page-payment-methods-deposit-tutorial__troubleshooting-content {
        gap: 20px;
    }

    .page-payment-methods-deposit-tutorial__sub-title {
        font-size: 24px;
    }

    .page-payment-methods-deposit-tutorial__troubleshooting-text ul li,
    .page-payment-methods-deposit-tutorial__troubleshooting-text p {
        font-size: 16px;
    }

    .page-payment-methods-deposit-tutorial__faq-question {
        padding: 15px 20px;
    }

    .page-payment-methods-deposit-tutorial__faq-question h3 {
        font-size: 16px;
    }

    .page-payment-methods-deposit-tutorial__faq-toggle {
        font-size: 24px;
        width: 25px;
        height: 25px;
    }

    .page-payment-methods-deposit-tutorial__faq-answer {
        padding: 0 20px;
    }

    .page-payment-methods-deposit-tutorial__faq-item.active .page-payment-methods-deposit-tutorial__faq-answer {
        padding: 15px 20px !important;
    }

    .page-payment-methods-deposit-tutorial__call-to-action {
        padding: 60px 0;
    }

    /* Ensure all images are responsive */
    .page-payment-methods-deposit-tutorial img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-payment-methods-deposit-tutorial__hero-image-wrapper,
    .page-payment-methods-deposit-tutorial__troubleshooting-image-wrapper,
    .page-payment-methods-deposit-tutorial__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-payment-methods-deposit-tutorial__main-title {
        font-size: 26px;
    }

    .page-payment-methods-deposit-tutorial__section-title {
        font-size: 22px;
    }

    .page-payment-methods-deposit-tutorial__intro-text {
        font-size: 16px;
    }

    .page-payment-methods-deposit-tutorial__cta-button {
        padding: 10px 20px;
        font-size: 15px;
    }

    .page-payment-methods-deposit-tutorial__faq-question h3 {
        font-size: 15px;
    }
}