.page-payment-methods {
    background-color: var(--bg-color, #F4F7FB);
    color: var(--text-main-color, #1F2D3D);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    padding: 10px 0 40px; /* Small top padding, more bottom padding */
    background-color: #2F6BFF; /* Main color */
    color: #FFFFFF;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and content */
}

.page-payment-methods__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 100%; /* Ensure responsiveness */
    min-height: 200px; /* Min height for images */
}

.page-payment-methods__hero-content {
    position: relative;
    z-index: 1; /* Ensure content is above any potential background layers */
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-payment-methods__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #FFFFFF;
    /* No fixed font-size for H1, relying on shared or browser default, and responsive scaling */
}

.page-payment-methods__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-payment-methods__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
    font-size: 1rem;
}

.page-payment-methods__button--primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    border: none;
}

.page-payment-methods__button--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__button--secondary {
    background-color: #FFFFFF;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
}

.page-payment-methods__button--secondary:hover {
    background-color: #F0F5FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Info Section */
.page-payment-methods__info-section,
.page-payment-methods__process-section,
.page-payment-methods__faq-section {
    padding: 60px 0;
}

.page-payment-methods__section-title {
    font-size: 2.2rem;
    color: var(--text-main-color, #1F2D3D);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-payment-methods__section-description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-main-color, #1F2D3D);
}

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

.page-payment-methods__feature-card {
    background-color: var(--card-bg-color, #FFFFFF);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color, #D6E2FF);
}

.page-payment-methods__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__feature-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    max-width: 100%; /* Ensure responsiveness */
    min-height: 200px; /* Min height for images */
}

.page-payment-methods__card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 15px;
}

.page-payment-methods__card-text {
    font-size: 1rem;
    color: var(--text-main-color, #1F2D3D);
}

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

.page-payment-methods__step-card {
    background-color: var(--card-bg-color, #FFFFFF);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color, #D6E2FF);
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-payment-methods__step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 3px solid #FFFFFF; /* White border around number */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__step-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
}

.page-payment-methods__step-description {
    font-size: 0.95rem;
    color: var(--text-main-color, #1F2D3D);
}

.page-payment-methods__note-text {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--text-main-color, #1F2D3D);
    opacity: 0.8;
}

/* FAQ Section */
.page-payment-methods__faq-section {
    background-color: #F0F5FF; /* Lighter background for contrast */
}

.page-payment-methods__faq-item {
    background-color: var(--card-bg-color, #FFFFFF);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color, #D6E2FF);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-payment-methods__faq-question {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
    cursor: pointer; /* Add cursor pointer for interactive FAQ */
}

.page-payment-methods__faq-answer {
    font-size: 1rem;
    color: var(--text-main-color, #1F2D3D);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-payment-methods__hero-image-wrapper {
        max-height: 450px;
    }
    .page-payment-methods__main-title {
        font-size: clamp(2rem, 5vw, 3.5rem); /* Using clamp for H1 */
    }
    .page-payment-methods__section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-image-wrapper {
        max-height: 350px;
    }
    .page-payment-methods__hero-content {
        padding: 0 15px;
    }
    .page-payment-methods__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem); /* Adjust clamp for H1 on smaller screens */
    }
    .page-payment-methods__description {
        font-size: 1rem;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-payment-methods__button {
        width: 80%;
        margin: 0 auto;
    }
    .page-payment-methods__info-section,
    .page-payment-methods__process-section,
    .page-payment-methods__faq-section {
        padding: 40px 0;
    }
    .page-payment-methods__section-title {
        font-size: 1.6rem;
    }
    .page-payment-methods__section-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .page-payment-methods__features-grid,
    .page-payment-methods__process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-payment-methods__feature-image {
        height: 200px; /* Adjust fixed height for consistency on mobile */
        min-height: 200px; /* Ensure min height */
        max-width: 100% !important; /* Important for mobile overflow */
        width: auto !important; /* Allow image to scale down */
    }
    /* Ensure all images in content area are responsive and don't cause overflow */
    .page-payment-methods img {
        max-width: 100% !important;
        height: auto !important;
        min-width: unset !important; /* Allow scaling down on mobile */
        min-height: unset !important; /* Allow scaling down on mobile */
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-image-wrapper {
        max-height: 250px;
    }
    .page-payment-methods__main-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .page-payment-methods__section-title {
        font-size: 1.4rem;
    }
    .page-payment-methods__button {
        width: 90%;
    }
}

/* Image CSS size lower bound check */
/* For content images, ensure they are not styled smaller than 200px. */
/* This applies to their *display* size, before mobile responsiveness takes over. */
.page-payment-methods__feature-image,
.page-payment-methods__hero-image {
    min-width: 200px;
    min-height: 200px;
}