/* style/payment-methods.css */

/* Base styles and layout for the page */
.page-payment-methods {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is #000000 (dark), so text must be light */
    background-color: #000000; /* Ensuring main content area respects body background */
}

/* Section styling */
.page-payment-methods__section {
    padding: 60px 20px;
    margin-bottom: 0; /* Remove default margin */
}

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

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

/* Container for content width */
.page-payment-methods__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

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

.page-payment-methods__sub-heading {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 20px;
}

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

/* Links */
.page-payment-methods__link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-payment-methods__link:hover {
    text-decoration: underline;
    color: #EA7C07; /* Login color for hover effect */
}

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

.page-payment-methods__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-payment-methods__hero-title {
    font-size: 3.5em;
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-payment-methods__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image for better text contrast */
}

.page-payment-methods__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.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: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

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

.page-payment-methods__btn-primary:hover {
    background-color: #EA7C07; /* Login color */
    border-color: #EA7C07;
    transform: translateY(-3px);
}

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

.page-payment-methods__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
    transform: translateY(-3px);
}

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

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

.page-payment-methods__light-bg .page-payment-methods__card {
    background-color: #f8f8f8; /* Light background for card in light section */
    color: #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__card-image {
    width: 100%;
    max-width: 400px; /* Example max-width for card images */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Enforce minimum size */
    min-width: 200px; /* Enforce minimum size */
}

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

.page-payment-methods__card-description {
    font-size: 1em;
    line-height: 1.5;
    text-align: justify;
}

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

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

.page-payment-methods__tip,
.page-payment-methods__important-note {
    background-color: rgba(38, 169, 224, 0.1);
    border-left: 5px solid #26A9E0;
    padding: 15px 20px;
    margin-top: 30px;
    border-radius: 5px;
    color: #ffffff;
}

.page-payment-methods__light-bg .page-payment-methods__tip,
.page-payment-methods__light-bg .page-payment-methods__important-note {
    background-color: #e6f7ff; /* Light background for tip in light section */
    color: #333333;
}


/* Content Grid for Fees & Times */
.page-payment-methods__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

.page-payment-methods__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter on dark background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

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

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

.page-payment-methods__faq-question:hover {
    background-color: rgba(38, 169, 224, 0.1);
}

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

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

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

/* Conclusion Section */
.page-payment-methods__conclusion .page-payment-methods__cta-buttons {
    margin-top: 40px;
}


/* 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__heading {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }
    .page-payment-methods__hero-title {
        font-size: 2.5em;
    }
    .page-payment-methods__hero-description {
        font-size: 1em;
    }
    .page-payment-methods__heading {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-payment-methods__sub-heading {
        font-size: 1.5em;
    }
    .page-payment-methods__cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-payment-methods__content-grid {
        grid-template-columns: 1fr;
    }
    .page-payment-methods__section {
        padding: 40px 15px;
    }
    .page-payment-methods__container {
        padding: 0 10px;
    }

    /* Images responsiveness */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-payment-methods__hero-image {
        min-width: unset;
        min-height: unset;
    }
    .page-payment-methods__card-image {
        min-width: unset;
        min-height: unset;
    }

    /* Ensure all containers with images/videos/buttons are responsive */
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container,
    .page-payment-methods__hero-content,
    .page-payment-methods__hero-image-wrapper,
    .page-payment-methods__cards-grid,
    .page-payment-methods__content-grid,
    .page-payment-methods__faq-list,
    .page-payment-methods__faq-item,
    .page-payment-methods__faq-answer,
    .page-payment-methods__hero-cta-buttons,
    .page-payment-methods__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 10px !important; /* Adjust padding for mobile */
        padding-right: 10px !important; /* Adjust padding for mobile */
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Buttons responsiveness */
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important; /* Adjust padding for mobile */
    }
    .page-payment-methods__hero-cta-buttons,
    .page-payment-methods__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        padding-left: 0 !important; /* Inner padding handled by buttons */
        padding-right: 0 !important; /* Inner padding handled by buttons */
    }
    .page-payment-methods__hero-content {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 2em;
    }
    .page-payment-methods__hero-description {
        font-size: 0.9em;
    }
    .page-payment-methods__heading {
        font-size: 1.5em;
    }
    .page-payment-methods__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-payment-methods__faq-answer {
        padding: 0 20px;
    }
    .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
        padding: 10px 20px 20px;
    }
}