/* Payment Options Page Styles */

/* 
  Main page headline (.headline) and subheadline (.subheadline) 
  are expected to be styled by global styles (e.g., styles.css).
  Ensure consistency with fonts like 'Playfair Display' for headlines if used elsewhere.
*/

.content-section {
    padding: 60px 20px; /* Added horizontal padding for safety on all screen sizes */
}

.content-wrapper {
    max-width: 1000px; /* Slightly increase max-width for better use of space */
    margin: 0 auto;
    padding: 0; /* Remove padding here if .content-section has it */
}

.payment-intro {
    text-align: center;
    margin-bottom: 50px; /* Increased bottom margin for more separation */
    max-width: 700px; /* Adjusted for better line length */
    margin-left: auto;
    margin-right: auto;
}

.payment-intro p {
    font-size: 18px;
    color: #86868b;
    line-height: 1.6;
}

.payment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; /* Slightly increased gap */
    margin-top: 0; /* Removed top margin, handled by .payment-intro's margin-bottom */
    margin-bottom: 60px; /* Added margin for separation before policies */
}

.payment-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.payment-column-title {
    font-size: 22px; /* Slightly adjusted size */
    font-weight: 600; /* Increased weight for better hierarchy */
    color: #1d1d1f;
    margin-bottom: 25px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd; /* More subtle border */
    text-align: left; /* Align title to the left for a cleaner look if cards are also left-aligned */
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.payment-card {
    background-color: #ffffff;
    border-radius: 12px; /* Slightly reduced radius for a sharper look */
    padding: 25px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06); /* Adjusted shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center; /* Keep icon and title centered */
    text-align: center; /* Keep text centered for now, as descriptions are short */
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.payment-icon {
    width: 80px;
    height: 80px;
    background-color: #f5f5f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.payment-card:hover .payment-icon {
    background-color: #e8f2ff;
}

.payment-icon i {
    font-size: 32px;
    color: #0071e3;
}

.payment-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1d1d1f;
}

.payment-card p {
    color: #555; /* Slightly darker for better readability */
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 90%; /* Prevent text from spanning full width if card is wide */
}

.payment-card .button {
    margin-top: auto;
    width: 100%;
    padding: 14px 24px;
    font-weight: 500;
    display: inline-block;
    text-align: center;
}

.payment-card .button:hover {
    background-color: #0062c3;
    transform: scale(1.02);
}

/* Payment Policy Section */
.policy-details {
    background-color: #f9f9f9; /* Consistent light background */
    border-radius: 12px;
    padding: 30px;
    margin-top: 0; /* Adjusted as .payment-container now has margin-bottom */
}

/* Style for .section-title if not globally defined, assuming it is for now */
/* Example:
.section-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: #1d1d1f;
}
*/

.policy-list {
    list-style: none;
    padding-left: 0;
}

.policy-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.policy-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #0071e3;
}

.policy-list li strong {
    color: #1d1d1f;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .payment-container {
        grid-template-columns: 1fr;
    }
    
    .payment-column {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .payment-card {
        padding: 25px;
    }
    
    .payment-icon {
        width: 70px;
        height: 70px;
    }
    
    .payment-icon i {
        font-size: 28px;
    }
    
    .payment-card h3 {
        font-size: 20px;
    }
    
    .payment-intro p {
        font-size: 16px;
    }
}
