/* style/payment-methods.css */
.page-payment-methods {
    font-family: Arial, sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-payment-methods__hero-section .page-payment-methods__container {
    z-index: 1;
    position: relative;
}

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

.page-payment-methods__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-payment-methods__btn-primary {
    background: #C30808; /* Register/Login button color */
    color: #FFFF00;     /* Register/Login font color */
    border: 2px solid #C30808;
}

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

.page-payment-methods__btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

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

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

/* Content Area */
.page-payment-methods__content-area {
    padding: 60px 0;
    background-color: #0a0a0a; /* Match body background */
    color: #ffffff;
}

.page-payment-methods__section-title {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-payment-methods__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #017439;
    border-radius: 2px;
}

.page-payment-methods__sub-section-title {
    font-size: 1.8em;
    color: #017439;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-payment-methods__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #f0f0f0;
}

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

.page-payment-methods__card {
    background: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
}

.page-payment-methods__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px;
}

.page-payment-methods__card-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
}

.page-payment-methods__card-description {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-payment-methods__feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-payment-methods__feature-list li {
    margin-bottom: 10px;
    font-size: 0.95em;
}

.page-payment-methods__feature-list li a {
    color: #FFFF00; /* Use specific yellow for links in cards */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-payment-methods__feature-list li a:hover {
    color: #fff;
    text-decoration: underline;
}

.page-payment-methods__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-payment-methods__list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-payment-methods__list strong {
    color: #017439;
}

.page-payment-methods__numbered-list {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-payment-methods__numbered-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-payment-methods__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px 0;
    border-radius: 10px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px;
}

.page-payment-methods__image-centered {
    display: block;
    margin: 40px auto;
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px;
}

.page-payment-methods__text-link {
    color: #017439;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-payment-methods__text-link:hover {
    color: #FFFF00;
}

/* FAQ Section */
.page-payment-methods__faq-container {
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-payment-methods__faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
}

.page-payment-methods__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
}

.page-payment-methods__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #017439;
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
    transform: rotate(45deg); /* Plus sign becomes a cross */
    color: #FFFF00;
}

.page-payment-methods__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background: rgba(255, 255, 255, 0.05);
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to reveal content */
    padding: 15px 25px 25px;
}

.page-payment-methods__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 2.8em;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
    .page-payment-methods__card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-payment-methods__hero-title {
        font-size: 2em;
    }
    .page-payment-methods__hero-description {
        font-size: 1em;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
    }
    .page-payment-methods__sub-section-title {
        font-size: 1.5em;
    }
    .page-payment-methods__content-area {
        padding: 40px 0;
    }
    .page-payment-methods__container {
        padding: 0 10px;
    }
    .page-payment-methods__card-grid {
        grid-template-columns: 1fr;
    }
    .page-payment-methods__card {
        padding: 20px;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container,
    .page-payment-methods__faq-container,
    .page-payment-methods__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 1.8em;
    }
    .page-payment-methods__section-title {
        font-size: 1.5em;
    }
    .page-payment-methods__faq-question h3 {
        font-size: 1.1em;
    }
    .page-payment-methods__faq-toggle {
        font-size: 1.5em;
    }
}

/* Color Contrast Fixes for specific elements if needed */
.page-payment-methods__dark-bg {
    background: #0a0a0a;
    color: #ffffff;
}
.page-payment-methods__light-bg {
    background: #ffffff;
    color: #333333;
}