/* style/payment-methods.css */

/* Base styles for the page */
.page-payment-methods {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #ffffff); /* Ensure body background color compatibility */
}

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

.page-payment-methods__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-payment-methods__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #017439;
    border-radius: 2px;
}

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

.page-payment-methods__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-payment-methods__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
    overflow: hidden;
    background-color: #017439; /* Brand primary color for dark background */
    color: #ffffff; /* White text for dark background */
}

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

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

.page-payment-methods__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-payment-methods__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary,
.page-payment-methods__btn-register,
.page-payment-methods__btn-login {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.page-payment-methods__btn-primary {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #017439;
}

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

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

.page-payment-methods__btn-secondary:hover {
    background-color: #f0f0f0;
}

.page-payment-methods__btn-register {
    background-color: #C30808; /* Custom color for register */
    color: #FFFF00; /* Custom font color for register */
    border: 2px solid #C30808;
    margin-right: 15px;
}

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

.page-payment-methods__btn-login {
    background-color: #C30808; /* Custom color for login */
    color: #FFFF00; /* Custom font color for login */
    border: 2px solid #C30808;
}

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

/* Introduction Section */
.page-payment-methods__introduction-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background */
    color: #333333;
}

/* Options Section */
.page-payment-methods__options-section {
    padding: 80px 0;
    background-color: #017439; /* Dark background */
    color: #ffffff;
}

.page-payment-methods__options-section .page-payment-methods__section-title {
    color: #ffffff;
}

.page-payment-methods__options-section .page-payment-methods__section-title::after {
    background-color: #ffffff;
}

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

.page-payment-methods__card {
    background-color: #ffffff; /* Light background for card */
    color: #333333;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e0e0e0;
}

.page-payment-methods__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

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

.page-payment-methods__card .page-payment-methods__list {
    text-align: left;
    width: 100%;
    padding-left: 20px;
    margin-bottom: 30px;
}

/* Guide Section */
.page-payment-methods__guide-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
}

.page-payment-methods__guide-item {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-payment-methods__guide-subtitle {
    font-size: 2em;
    color: #017439;
    margin-bottom: 30px;
    text-align: center;
}

.page-payment-methods__ordered-list {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 30px;
    max-width: 800px;
    text-align: left;
}

.page-payment-methods__ordered-list li {
    font-size: 1.1em;
    margin-bottom: 15px;
}

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

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

/* Security Section */
.page-payment-methods__security-section {
    padding: 80px 0;
    background-color: #017439; /* Dark background */
    color: #ffffff;
}

.page-payment-methods__security-section .page-payment-methods__section-title {
    color: #ffffff;
}

.page-payment-methods__security-section .page-payment-methods__section-title::after {
    background-color: #ffffff;
}

.page-payment-methods__security-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-payment-methods__security-content .page-payment-methods__text-block {
    max-width: 800px;
    margin-bottom: 30px;
}

.page-payment-methods__security-content .page-payment-methods__list {
    list-style: none;
    padding-left: 0;
    max-width: 800px;
    text-align: left;
    margin-bottom: 40px;
}

.page-payment-methods__security-content .page-payment-methods__list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-payment-methods__security-content .page-payment-methods__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #FFFF00; /* Highlight icon */
}

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

/* FAQ Section */
.page-payment-methods__faq-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
}

.page-payment-methods__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-payment-methods__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #f9f9f9;
}

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

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

.page-payment-methods__faq-title {
    margin: 0;
    color: #ffffff;
    font-size: 1.2em;
}

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

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

.page-payment-methods__faq-answer p {
    margin: 0;
    font-size: 1.05em;
}

/* CTA Section */
.page-payment-methods__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #017439;
    color: #ffffff;
}

.page-payment-methods__cta-section .page-payment-methods__section-title {
    color: #ffffff;
}

.page-payment-methods__cta-section .page-payment-methods__section-title::after {
    background-color: #ffffff;
}

.page-payment-methods__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 3em;
    }
    .page-payment-methods__hero-description {
        font-size: 1.3em;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
    .page-payment-methods__card-title {
        font-size: 1.5em;
    }
    .page-payment-methods__guide-subtitle {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-payment-methods {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-payment-methods__hero-section {
        padding: 80px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-payment-methods__hero-title {
        font-size: 2.2em;
    }
    .page-payment-methods__hero-description {
        font-size: 1.1em;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
    }
    .page-payment-methods__section-title::after {
        width: 60px;
    }
    .page-payment-methods__text-block,
    .page-payment-methods__list li,
    .page-payment-methods__ordered-list li,
    .page-payment-methods__faq-answer p {
        font-size: 1em;
    }
    .page-payment-methods__cards-grid {
        grid-template-columns: 1fr;
    }
    .page-payment-methods__card {
        padding: 20px;
    }
    .page-payment-methods__guide-item {
        margin-bottom: 40px;
    }
    .page-payment-methods__guide-subtitle {
        font-size: 1.5em;
    }
    .page-payment-methods__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-payment-methods__faq-title {
        font-size: 1.1em;
    }
    .page-payment-methods__faq-answer {
        padding: 0 15px;
    }
    .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
        padding: 15px;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary,
    .page-payment-methods__btn-register,
    .page-payment-methods__btn-login {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-right: 0 !important; /* Remove margin-right for stacked buttons */
    }
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-payment-methods img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-payment-methods__cta-buttons {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
    }
    .page-payment-methods__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 1.8em;
    }
    .page-payment-methods__hero-description {
        font-size: 1em;
    }
    .page-payment-methods__section-title {
        font-size: 1.5em;
    }
    .page-payment-methods__guide-subtitle {
        font-size: 1.3em;
    }
}