/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.page-header {
    position: relative;
    text-align: center;
    padding: 4rem 1rem;
    color: #fff;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
}

.page-header__inner {
    position: relative;
    z-index: 2;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
}

/* Payment Options */
.payment-option {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
    background: #4bc8d8;
    color: #fff;
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.payment-option h4 {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.payment-option h6 {
    margin-bottom: 1rem;
    font-weight: normal;
    font-size: 0.9rem;
}

.payment-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* Buttons */
.btn-pay,
.btn-primary {
    display: block;       /* takes full line so margin works */
    width: 250px;         /* or whatever width you prefer */
    margin: 0 auto;       /* centers the button horizontally */
    padding: 0.5rem 1rem;
    background: #e14534;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease, box-shadow 0.3s ease;
}


.btn-pay i,
.btn-primary i {
    margin-left: 8px;
}

/* Slide overlay effect */
.btn-pay::before,
.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #000; /* black slide overlay */
    transition: all 0.4s ease;
    z-index: 0;
}

/* Keep text & icons above overlay */
.btn-pay span,
.btn-primary span,
.btn-pay i,
.btn-primary i {
    position: relative;
    z-index: 1;
}

/* Hover effect */
.btn-pay:hover::before,
.btn-primary:hover::before {
    left: 0;
}

.btn-pay:hover,
.btn-primary:hover {
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bank-details {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  margin-bottom: 0.5rem;
}

.bank-details li {
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 6px;
  color: #333;
}

.bank-details strong {
  color: #000;
}

.qr-wrapper {
  text-align: center;
  margin-top: 0.5rem;
}

.qr-wrapper img {
  max-width: 150px;
  height: auto;
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 5px;
}

.qr-wrapper p {
  margin-top: 8px;
  font-size: 13px;
  color: #555;
}

/* Payment Form */
.payments {
    max-width: 600px;
    margin: 3rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s ease;
}

.payments h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #4bc8d8;
}

.form-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
    font-size: 0.95rem;
}

input:focus,
textarea:focus {
    border-color: #4bc8d8;
    outline: none;
}

/* Button in Form */
.btn-primary {
    width: 100%;
    background: #4bc8d8;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
}

.btn-primary:hover {
    background: #3aaabb;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem; /* consistent spacing */
    }
}

@media (max-width: 768px) {
    .page-header h2 {
        font-size: 2rem;
    }
    .payments {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .btn-pay, 
    .btn-primary {
        width: 150px;
        font-size: 0.85rem;
        text-align: center;
    }
}
