/* style/payment-methods.css */

/* Base styles for the page */
.page-payment-methods {
    font-family: Arial, sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

/* Section spacing and background colors */
.page-payment-methods__section {
    padding: 80px 0;
    position: relative;
}

.page-payment-methods__dark-bg {
    background-color: #001f3f;
    color: #ffffff;
}

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

/* Hero Section */
.page-payment-methods__hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure header offset */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.page-payment-methods__hero-section .page-payment-methods__container {
    z-index: 1;
    position: relative;
}

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

.page-payment-methods__hero-description {
    font-size: 1.15em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

.page-payment-methods__hero-cta {
    margin-top: 30px;
}

.page-payment-methods__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-payment-methods__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

/* General Titles and Descriptions */
.page-payment-methods__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: inherit;
}

.page-payment-methods__section-description {
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: inherit;
}

.page-payment-methods__sub-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    color: inherit;
}

/* Card Styles */
.page-payment-methods__methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods__card {
    padding: 30px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark blue */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.page-payment-methods__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

.page-payment-methods__card-text {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-payment-methods__features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-payment-methods__features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 0.95em;
    line-height: 1.5;
}

.page-payment-methods__list-icon {
    color: #FFD700;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2em;
}

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    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;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-payment-methods__btn-primary {
    background-color: #FFD700;
    color: #001f3f;
    border: 2px solid #FFD700;
}

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

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

.page-payment-methods__btn-secondary:hover {
    background-color: #FFD700;
    color: #001f3f;
}

/* Content with Image (left/right layout) */
.page-payment-methods__content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-payment-methods__text-block {
    flex: 1;
    min-width: 300px;
    color: inherit;
}

.page-payment-methods__image-container {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

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

.page-payment-methods__ordered-list {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 30px;
}

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

/* FAQ Section */
.page-payment-methods__faq-list {
    max-width: 900px;
    margin: 50px auto 0 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 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

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

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

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

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

.page-payment-methods__faq-answer p {
    margin: 0;
    line-height: 1.6;
    font-size: 1em;
    color: #333333;
}

.page-payment-methods__faq-answer a {
    color: #001f3f;
    text-decoration: underline;
}

/* CTA Section */
.page-payment-methods__cta-section {
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-payment-methods__cta-section .page-payment-methods__container {
    z-index: 1;
    position: relative;
}

.page-payment-methods__cta-title {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #FFD700;
}

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

.page-payment-methods__cta-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-payment-methods__cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

/* Global image styles */
.page-payment-methods img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Ensure no filter is applied */
    filter: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 2.8em;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
    .page-payment-methods__cta-title {
        font-size: 2.4em;
    }
    .page-payment-methods__content-wrapper {
        flex-direction: column;
    }
    .page-payment-methods__image-container {
        order: -1; /* Image appears above text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }
    .page-payment-methods__hero-title {
        font-size: 2em;
    }
    .page-payment-methods__hero-description {
        font-size: 1em;
    }
    .page-payment-methods__section {
        padding: 50px 0;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
    }
    .page-payment-methods__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-payment-methods__sub-title {
        font-size: 1.5em;
    }
    .page-payment-methods__methods-grid {
        grid-template-columns: 1fr;
    }
    .page-payment-methods__card {
        padding: 20px;
    }
    .page-payment-methods__card-title {
        font-size: 1.3em;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-payment-methods__cta-section {
        padding: 60px 0;
    }
    .page-payment-methods__cta-title {
        font-size: 2em;
    }
    .page-payment-methods__cta-description {
        font-size: 1em;
    }
    .page-payment-methods__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-payment-methods__faq-answer {
        padding: 15px 20px;
    }
    
    /* Mobile image and container responsiveness */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-payment-methods__container,
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__hero-section,
    .page-payment-methods__cta-section,
    .page-payment-methods__image-container,
    .page-payment-methods__hero-image-wrapper,
    .page-payment-methods__cta-image-wrapper,
    .page-payment-methods__content-wrapper,
    .page-payment-methods__methods-grid,
    .page-payment-methods__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    .page-payment-methods__hero-image,
    .page-payment-methods__cta-image {
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 1.8em;
    }
    .page-payment-methods__section-title {
        font-size: 1.6em;
    }
    .page-payment-methods__cta-title {
        font-size: 1.8em;
    }
    .page-payment-methods__faq-question {
        font-size: 0.9em;
    }
}