/* =========================================
   DONATE SECTION
========================================= */

.donate-section {
    position: relative;
    overflow: hidden;
}


/* =========================================
   HERO CIRCLES
========================================= */

.donate-circle-one {
    animation: donateFloatOne 7s ease-in-out infinite;
}

.donate-circle-two {
    animation: donateFloatTwo 9s ease-in-out infinite;
}


@keyframes donateFloatOne {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(15px);
    }

}


@keyframes donateFloatTwo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }

}


/* =========================================
   DETAIL CARD
========================================= */

.donate-detail-card {
    min-height: 86px;
}


/* =========================================
   COPY TOAST
========================================= */

.copy-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}


/* =========================================
   MODAL
========================================= */

.donate-modal.active {
    opacity: 1;
    visibility: visible;
}


.donate-modal.active .donate-modal-box {
    transform: scale(1);
}


/* =========================================
   QR IMAGE
========================================= */

.qr-image {
    image-rendering: auto;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 640px) {

    .donate-detail-card {
        min-height: 76px;
    }

}


/* =========================================
   EXTRA SMALL DEVICES
========================================= */

@media (max-width: 380px) {

    .donate-detail-card {
        padding: 12px;
        gap: 10px;
    }

    .donate-detail-card strong {
        font-size: 12px;
    }

}
/* =========================================
   DONOR LIST SECTION
========================================= */

#donor-list-section {
    position: relative;
}


/* =========================================
   DONOR MODAL
========================================= */

.donor-modal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.donor-modal.modal-show {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   MODAL ANIMATION
========================================= */

#donorModalBox {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.donor-modal.modal-show #donorModalBox {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* =========================================
   DONOR ITEM
========================================= */

.donor-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.donor-item:hover {
    border-color: #bbf7d0;
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}


/* =========================================
   DONOR NUMBER
========================================= */

.donor-number {
    display: flex;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #dcfce7;
    color: #15803d;
    font-size: 13px;
    font-weight: 800;
}


/* =========================================
   DONOR ICON
========================================= */

.donor-icon {
    display: flex;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 20px;
}


/* =========================================
   DONOR INFORMATION
========================================= */

.donor-info {
    min-width: 0;
    flex: 1;
}

.donor-info h4 {
    margin: 0;
    color: #1f2937;
    font-size: 15px;
    font-weight: 800;
}

.donor-info p {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 12px;
}


/* =========================================
   DONATION AMOUNT
========================================= */

.donor-amount {
    flex-shrink: 0;
    text-align: right;
}

.donor-amount span {
    display: block;
    color: #9ca3af;
    font-size: 10px;
}

.donor-amount strong {
    display: block;
    margin-top: 2px;
    color: #15803d;
    font-size: 15px;
    font-weight: 800;
}


/* =========================================
   BODY LOCK
========================================= */

body.modal-open {
    overflow: hidden;
}


/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .donor-item {
        gap: 11px;
        padding: 13px;
    }

    .donor-number {
        width: 38px;
        height: 38px;
    }

    .donor-icon {
        width: 44px;
        height: 44px;
    }

}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 640px) {

    .donor-item {
        gap: 9px;
        padding: 11px;
    }

    .donor-number {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 11px;
    }

    .donor-icon {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        font-size: 17px;
    }

    .donor-info h4 {
        font-size: 13px;
    }

    .donor-info p {
        font-size: 10px;
    }

    .donor-amount strong {
        font-size: 13px;
    }

    #donorModalBox {
        max-height: 92vh;
        border-radius: 24px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .donor-item {
        display: grid;
        grid-template-columns: 34px 40px 1fr;
        gap: 8px;
    }

    .donor-amount {
        grid-column: 3;
        text-align: left;
    }

}
/* =========================================
   DONOR MODAL
========================================= */

.donor-modal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.donor-modal.modal-show {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   MODAL BOX
========================================= */

#donorModalBox {
    opacity: 0;
    transform: translateY(35px) scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.donor-modal.modal-show #donorModalBox {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* =========================================
   BODY LOCK
========================================= */

body.modal-open {
    overflow: hidden;
}


/* =========================================
   DONOR CARD
========================================= */
.donor-card {
    position: relative;
    width: 92%;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #dbe7e0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.donor-card:hover {
    transform: translateY(-5px);
    border-color: #86efac;
    box-shadow: 0 15px 35px rgba(21, 128, 61, 0.12);
}


/* =========================================
   DONOR IMAGE AREA
========================================= */

.donor-card-image-area {
    position: relative;
    display: flex;
    min-height: 190px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #dcfce7, #ecfdf5);
    padding: 25px;
}


/* =========================================
   DONOR IMAGE
========================================= */

.donor-card-image {
    width: 125px;
    height: 125px;
    padding: 5px;
    overflow: hidden;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 10px 25px rgba(22, 101, 52, 0.22);
}

.donor-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


/* =========================================
   DONOR BADGE
========================================= */

.donor-role-badge {
    position: absolute;
    right: 18px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: #ffffff;
    padding: 8px 13px;
    color: #15803d;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.donor-role-badge i {
    font-size: 12px;
}


/* =========================================
   DONOR CARD BODY
========================================= */

.donor-card-body {
    padding: 20px;
}

.donor-card-name {
    margin: 0;
    text-align: center;
    color: #111827;
    font-size: 19px;
    font-weight: 900;
}

.donor-card-title {
    margin-top: 5px;
    text-align: center;
    color: #16a34a;
    font-size: 12px;
    font-weight: 800;
}


/* =========================================
   DONOR INFORMATION BOX
========================================= */

.donor-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f8fafc;
    padding: 11px 13px;
}

.donor-detail-icon {
    display: flex;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #dcfce7;
    color: #15803d;
    font-size: 16px;
}

.donor-detail-content {
    min-width: 0;
}

.donor-detail-label {
    display: block;
    color: #64748b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.donor-detail-value {
    display: block;
    margin-top: 2px;
    overflow: hidden;
    color: #1e293b;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================
   DONATION AMOUNT
========================================= */

.donation-amount-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 15px;
    border-radius: 15px;
    background: #f0fdf4;
    padding: 13px 15px;
}

.donation-amount-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #166534;
    font-size: 11px;
    font-weight: 800;
}

.donation-amount-label i {
    font-size: 14px;
}

.donation-amount {
    color: #15803d;
    font-size: 18px;
    font-weight: 900;
}


/* =========================================
   CARD FOOTER
========================================= */

.donor-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e5e7eb;
    padding: 13px 20px;
}

.donor-organization {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 9px;
    font-weight: 700;
}

.donor-organization i {
    color: #22c55e;
}

.donor-number {
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {

    .donor-card-image-area {
        min-height: 175px;
    }

    .donor-card-image {
        width: 110px;
        height: 110px;
    }

    .donor-card-body {
        padding: 17px;
    }

    .donor-card-name {
        font-size: 17px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 640px) {

    #donorModalBox {
        max-height: 95vh;
        border-radius: 24px;
    }

    .donor-card {
        border-radius: 20px;
    }

    .donor-card-image-area {
        min-height: 170px;
    }

    .donor-card-image {
        width: 105px;
        height: 105px;
    }

    .donor-role-badge {
        right: 14px;
        bottom: 13px;
        padding: 7px 11px;
        font-size: 10px;
    }

    .donor-card-body {
        padding: 15px;
    }

    .donor-card-name {
        font-size: 16px;
    }

    .donor-detail {
        margin-top: 11px;
        padding: 10px;
    }

    .donor-detail-icon {
        width: 35px;
        height: 35px;
    }

    .donation-amount-box {
        margin-top: 12px;
        padding: 11px 13px;
    }

    .donation-amount {
        font-size: 16px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .donor-card-image-area {
        min-height: 155px;
    }

    .donor-card-image {
        width: 90px;
        height: 90px;
    }

    .donor-card-name {
        font-size: 15px;
    }

}
.donor-card {
    width: 100%;
    max-width: 100%;
    border-radius: 18px;
    overflow: hidden;
}

.donor-card-image-area {
    min-height: 115px;
    padding: 15px;
}

.donor-card-image {
    width: 75px;
    height: 75px;
}

.donor-card-body {
    padding: 12px;
}

.donor-card-name {
    font-size: 17px;
    margin-bottom: 2px;
}

.donor-card-title {
    font-size: 11px;
    margin-bottom: 10px;
}

.donor-detail {
    padding: 7px;
    margin-top: 6px;
    gap: 8px;
    border-radius: 9px;
}

.donor-detail-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
}

.donor-detail-label {
    font-size: 8px;
}

.donor-detail-value {
    font-size: 10px;
}

.donation-amount-box {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 9px;
}

.donation-amount-label {
    font-size: 10px;
}

.donation-amount {
    font-size: 14px;
}

.donor-card-footer {
    padding: 8px 12px;
}

.donor-organization {
    font-size: 8px;
}

.donor-number {
    font-size: 9px;
}

/* =====================================
   DONORS SECTION
===================================== */

.donors-section {
    padding: 90px 20px;
    background: #f8fafc;
}

.donors-container {
    max-width: 1200px;
    margin: 0 auto;
}


/* =====================================
   SECTION HEADING
===================================== */

.donors-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.donors-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    margin-bottom: 18px;
    background: #fff1f2;
    color: #e11d48;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.donors-heading h2 {
    margin: 0 0 15px;
    color: #1e293b;
    font-size: 40px;
    font-weight: 800;
}

.donors-heading p {
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}


/* =====================================
   DONORS GRID
===================================== */

.donors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* =====================================
   DONOR CARD
===================================== */

.donor-card {
    position: relative;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.donor-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}


/* Rank */

.donor-rank {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}


/* =====================================
   DONOR PROFILE
===================================== */

.donor-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.donor-profile-img {
    width: 58px;
    height: 58px;
    min-width: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
}

.donor-details h3 {
    margin: 0 0 5px;
    color: #1e293b;
    font-size: 17px;
    font-weight: 700;
}

.donor-details p {
    margin: 0;
    color: #94a3b8;
    font-size: 12px;
}

.donor-details p i {
    margin-right: 4px;
}


/* =====================================
   DONATION AMOUNT
===================================== */

.donation-amount-box {
    padding: 16px;
    text-align: center;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: 14px;
    margin-bottom: 18px;
}

.donation-amount-box span {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.donation-amount-box strong {
    color: #16a34a;
    font-size: 27px;
    font-weight: 800;
}


/* =====================================
   DONOR FOOTER
===================================== */

.donor-footer {
    text-align: center;
}

.donor-footer span {
    color: #e11d48;
    font-size: 12px;
    font-weight: 600;
}

.donor-footer i {
    margin-right: 5px;
}


/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 991px) {

    .donors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .donors-heading h2 {
        font-size: 34px;
    }

}

@media (max-width: 576px) {

    .donors-section {
        padding: 60px 15px;
    }

    .donors-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .donors-heading {
        margin-bottom: 35px;
    }

    .donors-heading h2 {
        font-size: 28px;
    }

    .donor-card {
        padding: 20px;
    }

}