/* style/payment-methods.css */

/* Base Styles */
.page-payment-methods {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg-1);
}

.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__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

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

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

.page-payment-methods__sub-title {
    font-size: 1.8em;
    color: inherit;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-payment-methods__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: inherit;
}

.page-payment-methods__text-center {
    text-align: center;
}

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

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

.page-payment-methods__ordered-list {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    color: inherit;
}

.page-payment-methods__ordered-list li {
    margin-bottom: 10px;
}

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    background-color: #017439;
    color: #ffffff;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-payment-methods__hero-section .page-payment-methods__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    z-index: 1;
}

.page-payment-methods__hero-content {
    flex: 1;
    min-width: 300px;
}

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

.page-payment-methods__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-payment-methods__hero-image-wrapper {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* CTA Buttons */
.page-payment-methods__cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    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;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-payment-methods__btn-primary {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

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

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

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

/* Content Images */
.page-payment-methods__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Grid Layout for Payment Methods */
.page-payment-methods__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods__card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.page-payment-methods__card:hover {
    transform: translateY(-5px);
}

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

.page-payment-methods__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-payment-methods__card-text {
    font-size: 1em;
    margin-bottom: 15px;
}

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

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

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

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

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

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
    transform: rotate(45deg);
    content: '−'; /* Changed via JS, but good to have a fallback */
}

.page-payment-methods__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f0f0f0;
    color: #333333;
}

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

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

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

@media (max-width: 768px) {
    .page-payment-methods__hero-section .page-payment-methods__container {
        flex-direction: column;
        text-align: center;
    }
    .page-payment-methods__hero-content {
        order: 2;
    }
    .page-payment-methods__hero-image-wrapper {
        order: 1;
        margin-bottom: 30px;
    }
    .page-payment-methods__hero-title {
        font-size: 2.5em;
    }
    .page-payment-methods__hero-description {
        font-size: 1.1em;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-payment-methods__section {
        padding: 40px 0;
    }
    .page-payment-methods__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }
    .page-payment-methods img {
        max-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;
    }
    .page-payment-methods__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-payment-methods__grid-layout {
        grid-template-columns: 1fr;
    }
    .page-payment-methods__faq-question,
    .page-payment-methods__faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .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__btn-primary,
    .page-payment-methods__btn-secondary {
        font-size: 1em;
        padding: 12px 20px;
    }
}