/* style/payment-methods.css */
.page-payment-methods {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #f8f8f8);
}

.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    overflow: hidden;
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
}

.page-payment-methods__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.2;
}

.page-payment-methods__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-payment-methods__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-payment-methods__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-payment-methods__btn-primary {
    background: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
    margin: 10px;
}

.page-payment-methods__btn-primary:hover {
    background: #e06a00;
    border-color: #e06a00;
}

.page-payment-methods__btn-secondary {
    background: #ffffff;
    color: #26A9E0; /* Primary brand color */
    border: 2px solid #26A9E0;
    margin: 10px;
}

.page-payment-methods__btn-secondary:hover {
    background: #26A9E0;
    color: #ffffff;
}

.page-payment-methods__section {
    padding: 80px 20px;
    text-align: center;
}

.page-payment-methods__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-payment-methods__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #26A9E0;
}

.page-payment-methods__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-payment-methods__overview-section,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__policies,
.page-payment-methods__conclusion-section {
    background-color: #ffffff; /* Light background */
    color: #333333;
}

.page-payment-methods__deposit-methods,
.page-payment-methods__security-guide,
.page-payment-methods__faq-section {
    background-color: #26A9E0; /* Dark background */
    color: #ffffff;
}

.page-payment-methods__deposit-methods .page-payment-methods__section-title,
.page-payment-methods__security-guide .page-payment-methods__section-title,
.page-payment-methods__faq-section .page-payment-methods__section-title {
    color: #ffffff;
}

.page-payment-methods__image-full-width {
    width: 100%;
    height: auto;
    max-width: 1000px;
    margin: 40px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-payment-methods__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods__card {
    background-color: #ffffff; /* Card background */
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-payment-methods__card-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-payment-methods__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-payment-methods__card-text {
    font-size: 1em;
    margin-bottom: 15px;
}

.page-payment-methods__card-subtitle {
    font-size: 1.2em;
    color: #333333;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-payment-methods__list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.page-payment-methods__list li {
    margin-bottom: 8px;
}

.page-payment-methods__cta-buttons {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.page-payment-methods__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods__info-card {
    background-color: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.page-payment-methods__info-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-payment-methods__info-text {
    font-size: 1em;
}

.page-payment-methods__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__faq-item {
    background-color: #ffffff;
    color: #333333;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    background-color: #f0f8ff;
    border-bottom: 1px solid #e0e0e0;
}

.page-payment-methods__faq-question:hover {
    background-color: #e6f7ff;
}

.page-payment-methods__faq-title {
    margin: 0;
    flex-grow: 1;
    text-align: left;
}

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
    transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    text-align: left;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    max-height: 1000px !important; /* Ensure enough height for content */
    padding: 20px 25px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-payment-methods__main-title {
        font-size: 2.8em;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-payment-methods {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-payment-methods__hero-section {
        min-height: 500px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-payment-methods__main-title {
        font-size: 2.2em;
    }
    .page-payment-methods__hero-description {
        font-size: 1em;
    }
    .page-payment-methods__section {
        padding: 50px 0;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-payment-methods__text-block {
        font-size: 0.95em;
    }
    .page-payment-methods__card-grid,
    .page-payment-methods__info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-payment-methods__card,
    .page-payment-methods__info-card {
        padding: 20px;
        margin: 0 15px;
    }
    .page-payment-methods__card-image {
        height: 200px;
    }
    .page-payment-methods__list {
        padding-left: 15px;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0;
        padding: 12px 20px;
    }
    .page-payment-methods__container {
        padding: 0;
    }
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-payment-methods__faq-question,
    .page-payment-methods__faq-answer {
        padding-left: 20px;
        padding-right: 20px;
    }
    .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__main-title {
        font-size: 1.8em;
    }
    .page-payment-methods__section-title {
        font-size: 1.5em;
    }
    .page-payment-methods__card-title {
        font-size: 1.4em;
    }
    .page-payment-methods__faq-question {
        font-size: 1em;
    }
}