/* style/payment-methods.css */

/* Base styles for the payment methods page */
.page-payment-methods {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #0A2463; /* Main brand color for background */
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.page-payment-methods__hero-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    z-index: 2;
}

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

.page-payment-methods__hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

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

.page-payment-methods__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Auxiliary color for CTA */
    color: #0A2463; /* Main brand color for text */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__hero-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

/* General Section Styling */
.page-payment-methods__overview-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.page-payment-methods__deposit-section,
.page-payment-methods__faq-section {
    background-color: #ffffff;
}

.page-payment-methods__section-title {
    font-size: 2.8em;
    color: #0A2463; /* Main brand color for titles */
    margin-bottom: 25px;
    font-weight: bold;
}

.page-payment-methods__sub-section-title {
    font-size: 2em;
    color: #0A2463;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-payment-methods__section-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555555;
}

/* Container for content sections */
.page-payment-methods__overview-container,
.page-payment-methods__deposit-container,
.page-payment-methods__withdrawal-container,
.page-payment-methods__faq-container,
.page-payment-methods__cta-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-payment-methods__feature-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-payment-methods__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__feature-icon {
    width: 250px; /* Ensure minimum size */
    height: 187.5px; /* Maintain aspect ratio for 400x300 */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-payment-methods__feature-title {
    font-size: 1.8em;
    color: #0A2463;
    margin-bottom: 15px;
}

.page-payment-methods__feature-text {
    font-size: 1em;
    color: #666666;
}

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

.page-payment-methods__method-card {
    background-color: #f0f0f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-payment-methods__method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__method-title {
    font-size: 1.6em;
    color: #0A2463;
    margin-bottom: 15px;
}

.page-payment-methods__method-text {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-payment-methods__method-button {
    display: inline-block;
    background-color: #0A2463; /* Main brand color for CTA */
    color: #FFD700; /* Auxiliary color for text */
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-payment-methods__method-button:hover {
    background-color: #071b4a; /* Slightly darker blue on hover */
    transform: translateY(-2px);
}

.page-payment-methods__note-text {
    font-size: 1.1em;
    margin-top: 40px;
    color: #555555;
    font-style: italic;
}

/* Withdrawal Specifics */
.page-payment-methods__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__list-item {
    background-color: #f0f0f0;
    border-left: 5px solid #FFD700;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.05em;
    color: #333333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__list-item strong {
    color: #0A2463;
}

/* FAQ Section */
.page-payment-methods__faq-item {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.page-payment-methods__faq-question {
    font-size: 1.4em;
    color: #0A2463;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-payment-methods__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-payment-methods__faq-answer {
    font-size: 1em;
    color: #555555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding-top: 0;
}

.page-payment-methods__faq-answer.active {
    max-height: 200px; /* Adjust as needed for content */
    padding-top: 15px;
}

/* CTA Section */
.page-payment-methods__cta-section {
    background-color: #0A2463; /* Main brand color for CTA background */
    color: #ffffff;
    padding: 80px 20px;
}

.page-payment-methods__cta-title {
    font-size: 3em;
    color: #FFD700; /* Auxiliary color for CTA title */
    margin-bottom: 20px;
}

.page-payment-methods__cta-description {
    font-size: 1.4em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

.page-payment-methods__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Auxiliary color for CTA button */
    color: #0A2463; /* Main brand color for text */
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 3em;
    }
    .page-payment-methods__section-title {
        font-size: 2.2em;
    }
    .page-payment-methods__sub-section-title {
        font-size: 1.8em;
    }
    .page-payment-methods__hero-description,
    .page-payment-methods__section-description {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        min-height: 400px;
        padding: 30px 15px;
    }
    .page-payment-methods__hero-title {
        font-size: 2.5em;
    }
    .page-payment-methods__hero-description {
        font-size: 0.95em;
    }
    .page-payment-methods__hero-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-payment-methods__overview-section,
    .page-payment-methods__deposit-section,
    .page-payment-methods__withdrawal-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-section {
        padding: 40px 15px;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
    .page-payment-methods__sub-section-title {
        font-size: 1.6em;
    }
    .page-payment-methods__features-grid,
    .page-payment-methods__methods-grid {
        grid-template-columns: 1fr;
    }
    .page-payment-methods__feature-icon,
    .page-payment-methods__method-image {
        width: 100%;
        height: auto; /* Allow height to adjust for responsiveness */
        min-width: 200px;
        min-height: 200px;
    }
    .page-payment-methods__method-image {
        height: 250px; /* Ensure a decent size for mobile */
    }
    .page-payment-methods__cta-title {
        font-size: 2.2em;
    }
    .page-payment-methods__cta-description {
        font-size: 1.1em;
    }
    .page-payment-methods__cta-button {
        padding: 15px 30px;
        font-size: 1.2em;
    }
    /* Ensure all images within .page-payment-methods are responsive */
    .page-payment-methods img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 2em;
    }
    .page-payment-methods__hero-description {
        font-size: 0.9em;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
    }
    .page-payment-methods__sub-section-title {
        font-size: 1.4em;
    }
    .page-payment-methods__feature-title {
        font-size: 1.5em;
    }
    .page-payment-methods__method-title {
        font-size: 1.4em;
    }
    .page-payment-methods__faq-question {
        font-size: 1.2em;
    }
    .page-payment-methods__cta-title {
        font-size: 1.8em;
    }
    .page-payment-methods__cta-description {
        font-size: 1em;
    }
}