.page-payment-methods {
    color: #333333;
    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__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    background-color: #f8f9fa;
    overflow: hidden;
}

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

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

.page-payment-methods__title {
    font-size: 2.8em;
    color: #007bff;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.page-payment-methods__description {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.page-payment-methods__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.page-payment-methods__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
}

.page-payment-methods__cta-button--primary {
    background-color: #007bff;
    color: #ffffff;
    border: 2px solid #007bff;
}

.page-payment-methods__cta-button--primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.page-payment-methods__cta-button--secondary {
    background-color: #28a745;
    color: #ffffff;
    border: 2px solid #28a745;
}

.page-payment-methods__cta-button--secondary:hover {
    background-color: #1e7e34;
    border-color: #1e7e34;
    transform: translateY(-2px);
}

.page-payment-methods__section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__section-title {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
}

.page-payment-methods__paragraph {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: #444444;
}

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

.page-payment-methods__method-card {
    background-color: #f1f7fe;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__card-icon {
    width: 200px; /* Min width 200px */
    height: 150px; /* Min height 200px, adjusting for aspect ratio */
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 5px;
}

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

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

.page-payment-methods__security-image {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    width: 800px;
    height: 533px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__tips-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.page-payment-methods__tips-item {
    background-color: #e2f0fb;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid #007bff;
    border-radius: 5px;
    font-size: 1.0em;
    color: #333333;
}

.page-payment-methods__tips-item strong {
    color: #0056b3;
}

.page-payment-methods__faq-container {
    margin-top: 30px;
}

.page-payment-methods__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-payment-methods__faq-question {
    font-size: 1.2em;
    color: #007bff;
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #eaf6ff;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
}

.page-payment-methods__faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

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

.page-payment-methods__faq-answer {
    font-size: 1.0em;
    color: #555555;
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-payment-methods__faq-answer.active {
    max-height: 200px; /* Adjust as needed for content length */
    padding: 15px 25px;
}

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

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding: 60px 15px;
    }

    .page-payment-methods__title {
        font-size: 2em;
    }

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

    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-payment-methods__cta-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-payment-methods__section {
        margin: 30px auto;
        padding: 15px;
    }

    .page-payment-methods__section-title {
        font-size: 1.8em;
    }

    .page-payment-methods__method-grid {
        grid-template-columns: 1fr;
    }

    .page-payment-methods__card-icon {
        width: 100%; /* Ensure images are responsive and not smaller than 200px */
        height: auto;
        max-width: 250px;
        min-width: 200px;
        min-height: 150px;
    }

    .page-payment-methods__security-image {
        width: 100%;
        height: auto;
        max-width: 100%;
        min-width: 200px;
        min-height: 133px;
    }

    .page-payment-methods__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-payment-methods__faq-answer {
        padding: 0 20px;
    }

    .page-payment-methods__faq-answer.active {
        padding: 10px 20px;
    }

    /* Ensure all images within .page-payment-methods are responsive */
    .page-payment-methods img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size for content images */
        min- /* Enforce minimum size for content images */
    }
}