/* Donation Page Styles */
.donation-container {
    max-width: 1200px;
    margin: 7rem auto 2rem;
    padding: 2rem;
}

.donation-header {
    text-align: center;
    margin-bottom: 3rem;
}

.donation-header h1 {
    color: #20B7E1;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.donation-header p {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.6;
}

.donation-form-container {
    /* center a single bubble/card which will hold the PayPal form */
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.donation-bubble {
    background: rgba(255,255,255,0.85); /* semi-transparent white */
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12); /* neutral shadow */
    padding: 2.5rem 2rem;
    max-width: 520px;
    width: 100%;
    text-align: center;
    z-index: 99999;
    border: none;
}

.donation-bubble form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.donation-bubble input[type="image"] {
    width: 360px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10); /* neutral shadow */
    background: #f8fcff;
    transition: box-shadow 0.2s;
}

.donation-bubble input[type="image"]:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.donation-options {
    margin-bottom: 3rem;
}

.donation-options h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.amount-btn {
    background: #ffffff;
    border: 2px solid #20B7E1;
    border-radius: 5px;
    color: #20B7E1;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    background: #20B7E1;
    color: #ffffff;
}

.custom-amount-input {
    margin-top: 1rem;
}

.custom-amount-input label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.custom-amount-input input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1.1rem;
}

.donation-frequency {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.frequency-btn {
    flex: 1;
    background: #ffffff;
    border: 2px solid #20B7E1;
    border-radius: 5px;
    color: #20B7E1;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.frequency-btn:hover,
.frequency-btn.active {
    background: #20B7E1;
    color: #ffffff;
}

.donor-info {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.payment-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.donate-btn {
    width: 100%;
    background: #20B7E1;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 2rem;
    transition: background 0.3s ease;
}

.donate-btn:hover {
    background: #1a9bc0;
}

.donation-footer {
    text-align: center;
    color: #666;
    margin-top: 2rem;
}

.secure-badges {
    margin-top: 1rem;
}

.secure-badges img {
    height: 40px;
    margin: 0 0.5rem;
}

.donation-hero-wrap {
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999; /* ensure it's above overlays, video, and header */
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.donation-hero-wrap .donation-form-container,
.donation-hero-wrap .donation-bubble {
  pointer-events: auto;
}

/* Mobile Responsive Adjustments */
@media screen and (max-width: 768px) {
    .donation-container {
        padding: 1rem;
        margin-top: 6rem;
    }

    .donation-header h1 {
        font-size: 2rem;
    }

    .amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-details {
        grid-template-columns: 1fr;
    }

    .donation-form-container {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 1200px) {
  .donation-hero-wrap {
    top: 88%;
  }
}

@media screen and (max-width: 768px) {
  .donation-hero-wrap {
    top: 92%;
    padding: 0 1rem;
  }
  .donation-bubble {
    padding: 1.5rem;
  }
  .donation-bubble input[type="image"] {
    width: 260px;
  }
}