/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling 
body {
    font-family: 'Arial', sans-serif;
    background: #f4f7f6;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Main Container */
.payment-container {
    margin-left: 200px;
    width: 80%;
    max-width: 900px;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Header Styling */
.header h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1em;
    color: #777;
}

/* Payment Options Section */
.payment-options {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

/* Payment Card Styling */
.payment-card {
    width: 45%;
    padding: 25px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff, #e8f1f2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.payment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Icon Styling */
.payment-card .icon {
    font-size: 3em;
    color: #4CAF50;
    margin-bottom: 15px;
}

/* Payment Card Text */
.payment-card h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.payment-card p {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

/* Button Styling */
.option-button {
    padding: 12px 20px;
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.option-button:hover {
    background-color: #45a049;
}

.option-button:focus {
    outline: none;
}

/* Mobile Styling */
@media (max-width: 768px) {
    .payment-container {
        margin-left: 20px; /* Remove margin on small screens */
        padding: 20px;
    }

    .header h1 {
        font-size: 2em; /* Slightly smaller font size */
    }

    .header p {
        font-size: 1em;
    }

    .payment-options {
        flex-direction: column; /* Stack payment options vertically */
        align-items: center;
    }

    .payment-card {
        width: 80%; /* Make payment card full width on smaller screens */
        margin-bottom: 20px;
    }

    .option-button {
        font-size: 1em; /* Adjust button font size */
        padding: 10px 18px; /* Adjust padding */
    }
}

/* Extra Mobile Styling (for very small screens) */
@media (max-width: 480px) {
    .payment-container {
        margin-left: 0; /* Remove any left margin on extra small screens */
        padding: 15px;
    }

    .header h1 {
        font-size: 1.8em; /* Smaller font size for very small screens */
    }

    .header p {
        font-size: 0.9em;
    }

    .payment-card {
        width: 90%; /* Make payment card almost full width */
        padding: 20px;
    }

    .payment-card h3 {
        font-size: 1.4em; /* Smaller card header */
    }

    .payment-card p {
        font-size: 0.9em; /* Adjust text inside cards */
    }

    .option-button {
        font-size: 0.9em; /* Smaller button font size */
        padding: 8px 16px; /* Adjust padding */
    }
}
