/* style/payment-methods.css */

/* Base Styles */
.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__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-payment-methods__section {
    padding: 60px 0;
}

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

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

.page-payment-methods__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-payment-methods__dark-section {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-payment-methods__dark-section .page-payment-methods__section-title,
.page-payment-methods__dark-section .page-payment-methods__sub-title {
    color: #ffffff;
}

.page-payment-methods__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Hero Section */
.page-payment-methods__hero-section {
    padding-top: var(--header-offset, 120px);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-payment-methods__hero-section .page-payment-methods__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.page-payment-methods__hero-content {
    max-width: 800px;
    text-align: center;
}

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

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

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-width: 1000px;
    margin-top: 30px;
}

.page-payment-methods__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* CTA Buttons */
.page-payment-methods__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-payment-methods__cta-buttons--center {
    margin-top: 40px;
}

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

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

.page-payment-methods__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
    transform: translateY(-2px);
}

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

.page-payment-methods__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1a7fb0;
    transform: translateY(-2px);
}

.page-payment-methods__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Content Grid */
.page-payment-methods__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.page-payment-methods__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-payment-methods__text-content {
    flex: 1;
}

.page-payment-methods__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-payment-methods__image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.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;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-payment-methods__card-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Ensure card images are not too large */
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Min size enforcement */
    min-height: 200px;
}

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

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

/* Lists */
.page-payment-methods__ordered-list,
.page-payment-methods__unordered-list {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-payment-methods__ordered-list li,
.page-payment-methods__unordered-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-payment-methods__ordered-list li strong {
    color: #26A9E0;
}

/* FAQ Section */
.page-payment-methods__faq-section {
    padding: 80px 0;
}

.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;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    color: #333333;
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    background-color: #f5f5f5;
    font-weight: bold;
    font-size: 1.2em;
    color: #26A9E0;
    transition: background-color 0.3s ease;
}

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

.page-payment-methods__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #26A9E0;
}

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

.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 30px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    color: #555555;
}

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

.page-payment-methods__faq-answer p {
    margin: 0;
    font-size: 1.1em;
}

/* Final CTA Section */
.page-payment-methods__cta {
    text-align: center;
    padding: 80px 0;
}

.page-payment-methods__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

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

    .page-payment-methods__hero-description {
        font-size: 1.1em;
    }

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

    .page-payment-methods__content-grid {
        flex-direction: column;
    }

    .page-payment-methods__content-grid--reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-payment-methods {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-payment-methods__hero-section .page-payment-methods__container {
        padding: 0 15px;
    }

    .page-payment-methods__hero-title {
        font-size: 2.2em;
    }

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

    .page-payment-methods__section {
        padding: 40px 0;
    }

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

    .page-payment-methods__sub-title {
        font-size: 1.3em;
    }

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

    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary,
    .page-payment-methods a[class*="button"],
    .page-payment-methods a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-payment-methods__cta-buttons,
    .page-payment-methods__button-group,
    .page-payment-methods__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        overflow: hidden !important;
    }

    .page-payment-methods__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

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

    .page-payment-methods__hero-section {
        padding-bottom: 40px;
    }

    .page-payment-methods__card-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 1.8em;
    }

    .page-payment-methods__hero-description {
        font-size: 0.9em;
    }

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

    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }

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