/* Donation Page Styles */

/* ===== HERO ===== */
.donate-hero {
    background: linear-gradient(rgba(10, 92, 54, 0.88), rgba(10, 92, 54, 0.92)), 
                url('../images/donate-bg.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
}

.donate-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
}

.donate-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.donate-hero .subtitle {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.95;
    line-height: 1.6;
    position: relative;
}

.donate-hero .subtitle strong {
    color: var(--secondary-color);
}

.progress-box {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.progress-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.05), transparent);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    flex-wrap: wrap;
    gap: 15px;
}

.progress-header h3 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.progress-header h3 i {
    color: var(--secondary-color);
}

.amounts {
    text-align: right;
}

.collected {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.goal {
    font-size: 1.2rem;
    opacity: 0.9;
}

.progress-bar {
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), #f5d76e);
    border-radius: 15px;
    transition: width 0.8s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    font-size: 1.2rem;
    margin-bottom: 10px;
    position: relative;
}

.progress-text span {
    font-weight: 700;
    color: var(--secondary-color);
    background: rgba(212, 175, 55, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
}

.updated-info {
    font-size: 0.9rem;
    opacity: 0.8;
    position: relative;
}

.updated-info i {
    margin-right: 5px;
    color: var(--secondary-color);
}

/* ===== INSTRUCTIONS ===== */
.instructions {
    padding: 80px 0;
    background-color: var(--white);
}

.instructions h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-size: 2.3rem;
    position: relative;
}

.instructions h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.step {
    text-align: center;
    padding: 30px 25px;
    background: var(--light-green);
    border-radius: 15px;
    border-top: 5px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.step:hover::before {
    transform: scaleX(1);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-family: 'Montserrat', sans-serif;
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

.note-box {
    background: rgba(212, 175, 55, 0.1);
    border-left: 5px solid var(--secondary-color);
    padding: 20px 25px;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.note-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.note-box p {
    color: #8a6d3b;
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 0;
}

.note-box i {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ===== BANK DETAILS ===== */
.bank-details {
    background-color: var(--gray-light);
    padding: 80px 0;
}

.bank-details h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2.3rem;
    position: relative;
}

.bank-details h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-sub {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.banks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.bank-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-medium);
    position: relative;
}

.bank-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.bank-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.bank-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.bank-logo-placeholder {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.bank-card:hover .bank-logo-placeholder {
    transform: scale(1.1) rotate(5deg);
}

.bank-header h3 {
    font-size: 1.3rem;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    flex: 1;
}

.bank-info {
    padding: 25px;
}

.bank-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.5;
}

.bank-info i {
    color: var(--primary-color);
    min-width: 20px;
    text-align: center;
}

.bank-info strong {
    color: var(--text-dark);
}

.bank-qr {
    padding: 20px 25px 30px;
    text-align: center;
    border-top: 1px dashed var(--gray-medium);
}

.bank-qr p {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    border: 1px solid var(--gray-medium);
    padding: 10px;
    border-radius: 10px;
    background: var(--white);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.qr-placeholder:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.qr-placeholder i {
    color: var(--text-light);
    font-size: 3rem;
    transition: all 0.3s ease;
}

.qr-placeholder:hover i {
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* ===== AFTER DONATION ===== */
.after-donation {
    padding: 80px 0;
    background-color: var(--white);
}

.after-donation h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-size: 2.3rem;
    position: relative;
}

.after-donation h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.action-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.action {
    text-align: center;
    padding: 30px;
    background: var(--light-green);
    border-radius: 15px;
    border-top: 5px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.action:hover::before {
    transform: scaleX(1);
}

.action i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.action:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--accent-color);
}

.action h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-family: 'Montserrat', sans-serif;
}

.action p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
}

.action strong {
    color: var(--text-dark);
}

.reminder {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    padding: 15px 25px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-left: 4px solid var(--secondary-color);
}

.reminder i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.reminder strong {
    color: var(--text-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .steps,
    .action-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .banks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .donate-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .donate-hero .subtitle {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    .progress-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .amounts {
        text-align: center;
    }

    .collected {
        font-size: 1.8rem;
    }
    
    .progress-box {
        padding: 25px 20px;
        margin: 0 15px;
    }

    .bank-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .steps,
    .action-box,
    .banks-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .step,
    .action {
        padding: 25px;
    }

    .bank-card {
        max-width: 350px;
        margin: 0 auto;
    }

    .reminder {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 20px 15px;
    }
    
    .donate-hero h1 {
        font-size: 2rem;
    }
    
    .instructions h2,
    .bank-details h2,
    .after-donation h2 {
        font-size: 1.8rem;
    }
}