/* Overlay Background */
.donation-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
    z-index: 1000;
}

/* Show Popup */
.donation-popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Popup Container */
.donation-popup {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: slideIn 0.4s ease;
    position: relative;
}

/* Close Button */
.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Popup Heading */
.donation-popup h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--primary-color);
}

/* Subtext */
.donation-popup p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
}

/* Donation Options */
.donation-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

/* Donation Amount Styles */
.donation-amount {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donation-amount input[type="radio"] {
    display: none;
}

.donation-amount label {
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    width: 100%;
}

.donation-amount input[type="radio"]:checked + label {
    background: var(--primary-color); 
    color: #fff;
}

.custom-amount input {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    width: 100%;
    font-size: 16px;
    margin-bottom: 20px;
}

/* Donate Button */
.donate-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.donate-btn:hover {
    background: #e6b800;
}

/* Donation Note */
.donation-note {
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

.donation-note .paymentImg {
    margin-top: 10px;
    max-width: 100%;
}

/* Animation */
@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
} 
.progress__item .progress__content {
    max-width: 100% !important;
}
.event__item .image img{
    object-fit: cover;
}
 /* theme correction ##################################### */
.alternate-project .row > div:nth-child(1){
  order:2;
}
.alternate-project .row > div:nth-child(1) img{
  border-top-right-radius: var(--oxpins-bdr-radius);
  border-bottom-right-radius: var(--oxpins-bdr-radius);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.alternate-project .row > div:nth-child(2) .donations-list__content {
  order:1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: var(--oxpins-bdr-radius);
  border-bottom-left-radius: var(--oxpins-bdr-radius);
}
.donations-list__right , .donations-list__content{
    height: 100%;
}

@media only screen and (max-width: 992px) {
    .alternate-project .row > div:nth-child(1) img{ 
        border-bottom-left-radius: var(--oxpins-bdr-radius);
        border-bottom-right-radius: var(--oxpins-bdr-radius);
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .alternate-project .row > div:nth-child(2) .donations-list__content {
        order:1;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-top-left-radius: var(--oxpins-bdr-radius);
        border-top-right-radius: var(--oxpins-bdr-radius);
    }
}

.causes-one__img , .news-one__img{
    min-height: 200px;
    max-height: 350px;
    overflow: hidden;
    height: 270px; /* Or any consistent fixed height */
}
.causes-one__img img , .news-one__img img{
    object-fit: cover; 
    height: 100%;
}


.donations-list__img{
    min-height: 200px;
    max-height: 750px;
    overflow: hidden;
    height: 450px; /* Or any consistent fixed height */
}
.donations-list__img img {
    object-fit: cover; 
    height: 100%;
}
.header-shape{
    z-index: 10;
}
.testimonial-two__content{
    padding: 36px 45px 36px;
}
.testimonial-two__img {
    position: relative;
    display: block;
    height: 300px;
    width: 300px;
    border-radius: 10%; 
}
.testimonial-two__img img { 
    object-fit: cover;
    border-radius: 10%;
}

/* theme correction ##################################### */