/* style/payment-methods.css */
:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f8f9fa;
    --bg-dark: #212529;
    --border-color: #e0e0e0;
}

.page-payment-methods {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

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

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

/* Hero Banner */
.page-payment-methods .hero-banner {
    position: relative;
    width: 100%;
    height: 450px; /* Adjusted height for better visual */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    padding: 20px;
}

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

.page-payment-methods .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 123, 255, 0.7), rgba(255, 193, 7, 0.7));
    z-index: 2;
}

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

.page-payment-methods .hero-content h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods .hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.page-payment-methods .cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-payment-methods .cta-button:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-payment-methods section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-payment-methods section:nth-of-type(even) {
    background-color: #f0f2f5;
}

.page-payment-methods h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-payment-methods h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.page-payment-methods h3 {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-payment-methods p {
    font-size: 1.05em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-payment-methods ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-payment-methods ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23007bff"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-payment-methods ol {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-payment-methods ol li {
    margin-bottom: 15px;
    font-size: 1.05em;
}

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

.page-payment-methods .method-card, .page-payment-methods .method-card-single {
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods .method-card:hover, .page-payment-methods .method-card-single:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-payment-methods .method-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-payment-methods .method-card h3, .page-payment-methods .method-card-single h3 {
    color: var(--primary-color);
    font-size: 1.8em;
}

.page-payment-methods .method-card ul {
    list-style: disc;
    text-align: left;
    padding-left: 20px;
    margin-top: 15px;
}

.page-payment-methods .method-card ul li {
    background: none;
    padding-left: 0;
    font-size: 1em;
    color: var(--text-dark);
}

/* FAQ Section */
.page-payment-methods .faq-section {
    background-color: #e9ecef;
}

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

.page-payment-methods .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.page-payment-methods .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: var(--text-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-payment-methods .faq-question:hover {
    background-color: #f0f0f0;
}

.page-payment-methods .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--text-dark);
}

.page-payment-methods .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-payment-methods .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.page-payment-methods .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background-color: #f9f9f9;
    color: var(--text-dark);
}

.page-payment-methods .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
}

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

/* Final CTA Section */
.page-payment-methods .cta-final {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 80px 0;
}

.page-payment-methods .cta-final h2 {
    color: var(--text-light);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-payment-methods .cta-final h2::after {
    background-color: var(--text-light);
}

.page-payment-methods .cta-final p {
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
}

.page-payment-methods .cta-final .cta-button {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.page-payment-methods .cta-final .cta-button:hover {
    background-color: #e2e6ea;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-payment-methods .hero-banner {
        height: 400px;
    }
    .page-payment-methods .hero-content h1 {
        font-size: 2.2em;
    }
    .page-payment-methods .hero-content p {
        font-size: 1em;
    }
    .page-payment-methods h2 {
        font-size: 1.8em;
    }
    .page-payment-methods h3 {
        font-size: 1.4em;
    }
    .page-payment-methods .method-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-payment-methods .faq-question h3 {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-payment-methods .hero-banner {
        height: 350px;
        padding: 15px;
    }
    .page-payment-methods .hero-content h1 {
        font-size: 1.8em;
    }
    .page-payment-methods .hero-content p {
        font-size: 0.95em;
    }
    .page-payment-methods .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-payment-methods section {
        padding: 40px 0;
    }
    .page-payment-methods h2 {
        font-size: 1.6em;
        margin-bottom: 30px;
    }
    .page-payment-methods h3 {
        font-size: 1.2em;
    }
    .page-payment-methods p, .page-payment-methods ul li, .page-payment-methods ol li {
        font-size: 0.95em;
    }
    .page-payment-methods .method-icon {
        width: 80px;
        height: 80px;
    }
    .page-payment-methods .method-card, .page-payment-methods .method-card-single {
        padding: 20px;
    }
    .page-payment-methods .faq-question {
        padding: 15px 20px;
    }
    .page-payment-methods .faq-question h3 {
        font-size: 1em;
    }
    .page-payment-methods .faq-toggle {
        font-size: 1.5em;
    }
    .page-payment-methods .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-payment-methods .cta-final {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .page-payment-methods .hero-banner {
        height: 300px;
    }
    .page-payment-methods .hero-content h1 {
        font-size: 1.5em;
    }
    .page-payment-methods .hero-content p {
        font-size: 0.9em;
    }
    .page-payment-methods .cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-payment-methods h2 {
        font-size: 1.4em;
    }
    .page-payment-methods .method-grid {
        grid-template-columns: 1fr;
    }
    .page-payment-methods .faq-question h3 {
        font-size: 0.9em;
    }
    .page-payment-methods .faq-toggle {
        font-size: 1.2em;
    }
}