/* style/payment-methods.css */
.page-payment-methods {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a1a; /* Body background from shared.css */
}

.page-payment-methods__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px;
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    overflow: hidden;
    min-height: 500px;
}

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

.page-payment-methods__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

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

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

.page-payment-methods__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.8;
    color: #f0f0f0;
}

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

.page-payment-methods__dark-bg {
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-payment-methods__light-bg {
    background-color: #2a2a2a; /* Slightly lighter dark for contrast */
    color: #ffffff;
}

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

.page-payment-methods__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand primary color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-payment-methods__dark-bg .page-payment-methods__section-title {
    color: #ffffff;
}

.page-payment-methods__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #f0f0f0;
}

.page-payment-methods__light-bg .page-payment-methods__text-block {
    color: #e0e0e0;
}

.page-payment-methods__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    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;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-payment-methods__btn-primary {
    background-color: #C30808; /* Custom Register/Login button color */
    color: #ffffff; /* White text for contrast */
    border: 2px solid #C30808;
}

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

.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;
    border-color: #ffffff;
}

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

.page-payment-methods__card {
    background-color: #1a1a1a; /* Darker background for cards on light-bg section */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-payment-methods__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

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

.page-payment-methods__numbered-list {
    list-style-type: decimal;
    padding-left: 25px;
    margin-top: 20px;
    color: #f0f0f0;
}

.page-payment-methods__numbered-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-payment-methods__numbered-list strong {
    color: #017439;
}

.page-payment-methods__feature-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-top: 20px;
    color: #f0f0f0;
}

.page-payment-methods__feature-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.6;
}

.page-payment-methods__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__faq-list {
    margin-top: 40px;
}

.page-payment-methods__faq-item {
    background-color: #1a1a1a;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: #017439; /* Brand color for FAQ question */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none;
}

.page-payment-methods__faq-question::-webkit-details-marker {
    display: none;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #ffffff;
}

.page-payment-methods__faq-answer {
    padding: 20px 25px;
    font-size: 1.05em;
    color: #e0e0e0;
    background-color: #1a1a1a;
    line-height: 1.7;
}

.page-payment-methods__faq-answer p {
    margin-bottom: 10px;
}

.page-payment-methods__cta-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #017439;
    color: #ffffff;
}

.page-payment-methods__cta-wrapper {
    max-width: 800px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 2.8em;
    }
    .page-payment-methods__hero-description {
        font-size: 1.1em;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
    .page-payment-methods__card-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 30px;
        min-height: 400px;
    }
    .page-payment-methods__hero-title {
        font-size: 2.2em;
    }
    .page-payment-methods__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-payment-methods__section {
        padding: 40px 15px;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-payment-methods__text-block {
        font-size: 1em;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-payment-methods__payment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-payment-methods__card {
        padding: 20px;
    }
    .page-payment-methods__card-image {
        height: 180px;
    }
    .page-payment-methods__card-title {
        font-size: 1.4em;
    }
    .page-payment-methods__numbered-list,
    .page-payment-methods__feature-list {
        padding-left: 20px;
        font-size: 1em;
    }
    .page-payment-methods__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-payment-methods__faq-answer {
        padding: 15px 20px;
        font-size: 1em;
    }

    /* Image responsiveness */
    .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,
    .page-payment-methods__hero-section,
    .page-payment-methods__cta-section,
    .page-payment-methods__cta-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-payment-methods__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-payment-methods__image-full-width {
        max-width: 100% !important;
        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__card-title {
        font-size: 1.3em;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        font-size: 0.95em;
        padding: 10px 15px;
    }
}