.page-payment-methods {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow */
    padding: 0;
    background-color: #007bff; /* Primary color background for the section */
    color: #ffffff;
    text-align: center;
}

.page-payment-methods__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover the area */
    opacity: 0.7; /* Slightly dim the image to make text readable */
}

.page-payment-methods__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    z-index: 10;
}

.page-payment-methods__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffc107; /* Secondary color for title */
    line-height: 1.2;
}

.page-payment-methods__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-payment-methods__hero-button {
    display: inline-block;
    background-color: #ffc107; /* Secondary color for button */
    color: #007bff; /* Primary color for button text */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-payment-methods__hero-button:hover {
    background-color: #e0a800; /* Darker secondary on hover */
    color: #0056b3; /* Darker primary on hover */
}

/* General Section Styling */
.page-payment-methods__section-title {
    font-size: 2.5em;
    color: #007bff;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
    position: relative;
}

.page-payment-methods__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ffc107;
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-payment-methods__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #555555;
}

/* Cards Grid */
.page-payment-methods__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-payment-methods__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

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

.page-payment-methods__card-image {
    width: 100%; /* Make sure card image fills width */
    height: auto;
    max-width: 400px; /* Ensure images in cards are not too small */
    min-width: 200px; /* Min width for content images */
    min-height: 200px; /* Min height for content images */
    border-radius: 8px;
    margin: 0 auto 20px auto; /* Center image */
    display: block;
    object-fit: cover;
}

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

.page-payment-methods__card-description {
    font-size: 1em;
    color: #666666;
}

/* Deposit/Withdrawal Guide Steps */
.page-payment-methods__deposit-guide-section,
.page-payment-methods__withdrawal-guide-section {
    background-color: #f9f9f9;
    padding: 60px 0;
    margin-bottom: 40px;
}

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

.page-payment-methods__step-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    border-top: 5px solid #007bff;
}

.page-payment-methods__step-image {
    width: 100%;
    height: auto;
    max-width: 300px; /* Ensure step images are not too small */
    min-width: 200px; /* Min width for content images */
    min-height: 200px; /* Min height for content images */
    border-radius: 5px;
    margin: 0 auto 20px auto; /* Center image */
    display: block;
    object-fit: cover;
}

.page-payment-methods__step-title {
    font-size: 1.3em;
    color: #007bff;
    margin-bottom: 10px;
}

.page-payment-methods__step-description {
    font-size: 0.95em;
    color: #666666;
    margin-bottom: 20px;
}

.page-payment-methods__step-button {
    display: inline-block;
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.page-payment-methods__step-button:hover {
    background-color: #0056b3;
}

.page-payment-methods__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

/* Security Section */
.page-payment-methods__security-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

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

.page-payment-methods__security-feature-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    border-left: 5px solid #ffc107;
}

.page-payment-methods__feature-image {
    width: 250px; /* Enforce minimum display size for illustrative images */
    height: 250px;
    object-fit: cover;
    border-radius: 50%; /* Make it round if desired */
    margin: 0 auto 20px auto; /* Center image */
    display: block;
    border: 3px solid #007bff; /* Primary color border */
}

.page-payment-methods__feature-title {
    font-size: 1.4em;
    color: #007bff;
    margin-bottom: 10px;
}

.page-payment-methods__feature-description {
    font-size: 0.95em;
    color: #666666;
}

/* FAQ Section */
.page-payment-methods__faq-section {
    background-color: #f9f9f9;
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-payment-methods__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #ffc107;
}

.page-payment-methods__faq-question {
    font-size: 1.2em;
    color: #007bff;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    font-weight: bold;
}

.page-payment-methods__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    color: #ffc107;
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-payment-methods__faq-answer {
    font-size: 1em;
    color: #555555;
    display: none; /* Will be controlled by JS */
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.page-payment-methods__cta-faq {
    text-align: center;
    margin-top: 40px;
}

.page-payment-methods__cta-text {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 15px;
}

.page-payment-methods__cta-link {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-payment-methods__cta-link:hover {
    color: #0056b3;
    border-color: #0056b3;
}


/* Final Call to Action */
.page-payment-methods__cta-section {
    background-color: #007bff; /* Primary color background */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-payment-methods__cta-container {
    max-width: 1000px;
}

.page-payment-methods__cta-title {
    font-size: 2.8em;
    color: #ffc107; /* Secondary color for title */
    margin-bottom: 25px;
}

.page-payment-methods__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

.page-payment-methods__cta-button--primary {
    background-color: #ffc107;
    color: #007bff;
    margin-right: 20px;
    padding: 18px 35px;
    font-size: 1.2em;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-payment-methods__cta-button--primary:hover {
    background-color: #e0a800;
    color: #0056b3;
}

.page-payment-methods__cta-button--secondary {
    background-color: transparent;
    border: 2px solid #ffc107;
    color: #ffc107;
    padding: 18px 35px;
    font-size: 1.2em;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-payment-methods__cta-button--secondary:hover {
    background-color: #ffc107;
    color: #007bff;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 2.5em;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
    .page-payment-methods__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-content {
        padding: 20px;
        max-width: 90%;
    }
    .page-payment-methods__hero-title {
        font-size: 2em;
    }
    .page-payment-methods__hero-description {
        font-size: 1em;
    }
    .page-payment-methods__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
    }
    .page-payment-methods__section-intro {
        font-size: 1em;
    }
    .page-payment-methods__cards-grid,
    .page-payment-methods__steps-grid,
    .page-payment-methods__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-payment-methods__card,
    .page-payment-methods__step-item,
    .page-payment-methods__security-feature-item {
        padding: 20px;
    }
    .page-payment-methods__card-image,
    .page-payment-methods__step-image,
    .page-payment-methods__feature-image {
        max-width: 100%; /* Ensure images don't overflow */
        width: auto; /* Adjust width automatically */
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }

    .page-payment-methods__cta-title {
        font-size: 1.8em;
    }
    .page-payment-methods__cta-description {
        font-size: 1em;
    }
    .page-payment-methods__cta-button--primary,
    .page-payment-methods__cta-button--secondary {
        display: block;
        margin: 10px auto;
        width: 80%;
        max-width: 300px;
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-payment-methods__cta-button--primary {
        margin-right: auto;
    }
    /* Ensure content area images do not cause horizontal scroll */
    .page-payment-methods__container img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 1.5em;
    }
    .page-payment-methods__hero-description {
        font-size: 0.9em;
    }
    .page-payment-methods__hero-button {
        font-size: 0.9em;
        padding: 10px 20px;
    }
    .page-payment-methods__section-title {
        font-size: 1.5em;
    }
    .page-payment-methods__cta-title {
        font-size: 1.5em;
    }
    .page-payment-methods__faq-question {
        font-size: 1.1em;
    }
    .page-payment-methods__faq-answer {
        font-size: 0.9em;
    }
}