﻿/* ==========================================
   DONATE HERO - DARK VERSION
========================================== */

.donate-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0 45px;
    background: radial-gradient(circle at 88% 20%, rgba(22, 180, 216, .30), transparent 30%), radial-gradient(circle at 68% 110%, rgba(245, 130, 32, .18), transparent 28%), linear-gradient(135deg, #032b43 0%, #064e70 55%, #0876a8 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

    /* Grid pattern */
    .donate-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
        background-size: 40px 40px;
        pointer-events: none;
    }

    /* Decorative glow */
    .donate-hero::after {
        content: "";
        position: absolute;
        width: 360px;
        height: 360px;
        right: -100px;
        top: -180px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, .10);
        box-shadow: 0 0 0 45px rgba(255, 255, 255, .025), 0 0 0 90px rgba(255, 255, 255, .018);
        pointer-events: none;
    }

.donate-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}


/* Kicker */

.donate-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
    color: #8fe7f4;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

    .donate-kicker::before {
        content: "";
        width: 32px;
        height: 2px;
        border-radius: 10px;
        background: #f58220;
    }


/* Heading */

.donate-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -2px;
}

    .donate-hero h1 span {
        color: #f7a54d;
    }


/* Description */

.donate-hero p {
    max-width: 650px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .80);
    font-size: 15px;
    line-height: 1.8;
}


/* Breadcrumb */

.donate-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    font-size: 13px;
}

    .donate-breadcrumb a {
        color: #8fe7f4;
        font-weight: 800;
        text-decoration: none;
        transition: color .2s ease;
    }

        .donate-breadcrumb a:hover {
            color: #ffffff;
        }

    .donate-breadcrumb > span:not(:last-child) {
        color: #f58220;
    }

    .donate-breadcrumb span:last-child {
        color: rgba(255, 255, 255, .65);
    }


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 576px) {

    .donate-hero {
        padding: 50px 0 55px;
    }

        .donate-hero h1 {
            font-size: 40px;
            line-height: 1.06;
            letter-spacing: -1px;
        }

        .donate-hero p {
            margin-top: 16px;
            font-size: 14px;
            line-height: 1.7;
        }

    .donate-breadcrumb {
        margin-top: 20px;
    }

    .donate-hero::after {
        width: 250px;
        height: 250px;
        right: -130px;
        top: -120px;
    }
}


/* ==========================================
   DONATE MAIN
========================================== */

.donate-section {
    padding: 75px 0 90px;
    background: #f7fafc;
}

.donate-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 360px;
    gap: 30px;
    align-items: start;
}

.donate-main {
    display: grid;
    gap: 22px;
}


/* ==========================================
   CARDS
========================================== */

.donate-card {
    padding: 30px;
    border: 1px solid #dfeaf0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(3,43,67,.04);
}

.donate-card-head {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 24px;
}

.donate-step {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eef8ff;
    color: #087cc4;
    font-size: 11px;
    font-weight: 900;
}

.donate-card-head h2 {
    margin: 0;
    color: #032b43;
    font-size: 21px;
    font-weight: 800;
}

.donate-card-head p {
    margin: 4px 0 0;
    color: #647b87;
    font-size: 12px;
}


/* ==========================================
   AMOUNTS
========================================== */

.donate-amount-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 9px;
}

.donate-amount {
    cursor: pointer;
}

    .donate-amount input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .donate-amount span {
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #d9e7ed;
        border-radius: 11px;
        background: #f9fcfd;
        color: #032b43;
        font-size: 13px;
        font-weight: 800;
        transition: .2s ease;
    }

    .donate-amount:hover span {
        border-color: #7fcbe4;
    }

    .donate-amount input:checked + span {
        border-color: #087cc4;
        background: #087cc4;
        color: #fff;
        box-shadow: 0 5px 15px rgba(8,124,196,.18);
    }

.donate-custom input:checked + span {
    border-color: #f58220;
    background: #f58220;
}


/* Custom amount */

.custom-donation-wrap {
    position: relative;
    margin-top: 15px;
}

    .custom-donation-wrap input {
        width: 100%;
        height: 54px;
        padding: 0 65px 0 42px;
        border: 1px solid #dce8ee;
        border-radius: 11px;
        outline: none;
        background: #f9fcfd;
        color: #032b43;
        font-size: 16px;
        font-weight: 800;
    }

        .custom-donation-wrap input:focus {
            border-color: #16b4d8;
            background: #fff;
            box-shadow: 0 0 0 3px rgba(22,180,216,.10);
        }

.custom-dollar {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #087cc4;
    font-weight: 900;
}

.custom-currency {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #718590;
    font-size: 11px;
    font-weight: 800;
}


/* Reference */

.donate-reference {
    margin-top: 19px;
}

    .donate-reference label,
    .donate-field label {
        display: block;
        margin-bottom: 7px;
        color: #032b43;
        font-size: 11px;
        font-weight: 800;
    }

    .donate-reference input,
    .donate-field input,
    .donate-field select {
        width: 100%;
        height: 50px;
        padding: 0 14px;
        border: 1px solid #dce8ee;
        border-radius: 10px;
        outline: none;
        background: #f9fcfd;
        color: #032b43;
        font-size: 12px;
    }

        .donate-reference input:focus,
        .donate-field input:focus,
        .donate-field select:focus {
            border-color: #16b4d8;
            background: #fff;
            box-shadow: 0 0 0 3px rgba(22,180,216,.10);
        }


/* ==========================================
   FREQUENCY
========================================== */

.frequency-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
}

.frequency-option {
    cursor: pointer;
}

    .frequency-option input {
        position: absolute;
        opacity: 0;
    }

.frequency-box {
    min-height: 72px;
    padding: 13px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #dce8ee;
    border-radius: 11px;
    background: #f9fcfd;
    transition: .2s ease;
}

    .frequency-box strong {
        color: #032b43;
        font-size: 12px;
    }

    .frequency-box small {
        margin-top: 3px;
        color: #778b95;
        font-size: 10px;
    }

.frequency-option input:checked + .frequency-box {
    border-color: #087cc4;
    background: #eef8ff;
}

    .frequency-option input:checked + .frequency-box strong {
        color: #087cc4;
    }


/* EMI */

.donate-emi {
    margin-top: 15px;
    padding: 14px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-radius: 11px;
    background: #f4f9fc;
    border: 1px solid #deebf0;
}

    .donate-emi strong {
        display: block;
        color: #032b43;
        font-size: 11px;
    }

    .donate-emi small {
        display: block;
        margin-top: 2px;
        color: #748994;
        font-size: 10px;
    }

    .donate-emi input {
        width: 75px;
        height: 40px;
        border: 1px solid #ccdce4;
        border-radius: 8px;
        text-align: center;
        font-weight: 800;
    }


/* ==========================================
   PERSONAL FORM
========================================== */

.donate-form-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 17px;
}

.donate-full {
    grid-column: 1/-1;
}

.donate-field label span {
    color: #f58220;
}


/* ==========================================
   SUMMARY
========================================== */

.donate-summary-wrap {
    position: sticky;
    top: 105px;
}

.donate-summary {
    overflow: hidden;
    padding: 30px;
    border-radius: 21px;
    background: radial-gradient(circle at 100% 0%,rgba(22,180,216,.27),transparent 35%), linear-gradient(145deg,#032b43,#064e70);
    color: #fff;
    box-shadow: 0 18px 45px rgba(3,43,67,.17);
}

.summary-kicker {
    margin-bottom: 8px;
    color: #8fe7f4;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.donate-summary h2 {
    margin: 0 0 26px;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
}

.summary-amount {
    padding: 19px;
    border-radius: 14px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.12);
}

    .summary-amount small {
        display: block;
        color: rgba(255,255,255,.65);
        font-size: 10px;
    }

    .summary-amount strong {
        display: inline-block;
        margin-top: 5px;
        color: #fff;
        font-size: 38px;
        line-height: 1;
        font-weight: 900;
    }

    .summary-amount span {
        margin-left: 5px;
        color: #9fe9f5;
        font-size: 10px;
        font-weight: 800;
    }

.summary-line {
    height: 1px;
    margin: 24px 0;
    background: rgba(255,255,255,.12);
}


/* Impact */

.summary-impact {
    display: flex;
    gap: 12px;
}

.summary-impact-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f58220;
    color: #fff;
}

.summary-impact strong {
    display: block;
    color: #fff;
    font-size: 12px;
}

.summary-impact p {
    margin: 4px 0 0;
    color: rgba(255,255,255,.68);
    font-size: 10px;
    line-height: 1.6;
}


/* Declaration */

.donate-declaration {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 23px;
    cursor: pointer;
}

    .donate-declaration input {
        flex: 0 0 auto;
        margin-top: 3px;
        accent-color: #f58220;
    }

    .donate-declaration span {
        color: rgba(255,255,255,.72);
        font-size: 9px;
        line-height: 1.6;
    }


/* Submit */

.donate-submit {
    width: 100%;
    height: 53px;
    margin-top: 21px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 11px;
    background: #f58220;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: .2s ease;
}

    .donate-submit:hover {
        background: #e47213;
        transform: translateY(-1px);
    }

    .donate-submit:disabled {
        opacity: .65;
        cursor: wait;
    }

.donate-submit-arrow {
    font-size: 18px;
}


/* Secure */

.secure-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 17px;
}

.secure-icon {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(143,231,244,.14);
    color: #8fe7f4;
    font-size: 9px;
}

.secure-payment strong {
    display: block;
    color: rgba(255,255,255,.9);
    font-size: 9px;
}

.secure-payment small {
    display: block;
    color: rgba(255,255,255,.48);
    font-size: 8px;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {

    .donate-layout {
        grid-template-columns: 1fr;
    }

    .donate-summary-wrap {
        position: static;
    }

    .donate-amount-grid {
        grid-template-columns: repeat(3,1fr);
    }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 576px) {

    .donate-hero {
        padding: 55px 0;
    }

        .donate-hero h1 {
            font-size: 42px;
            letter-spacing: -1px;
        }

        .donate-hero p {
            font-size: 14px;
        }

    .donate-section {
        padding: 45px 0 60px;
    }

    .donate-card {
        padding: 22px 17px;
        border-radius: 16px;
    }

    .donate-card-head h2 {
        font-size: 18px;
    }

    .donate-amount-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .frequency-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .donate-form-grid {
        grid-template-columns: 1fr;
    }

    .donate-full {
        grid-column: auto;
    }

    .donate-summary {
        padding: 25px 20px;
    }

    .summary-amount strong {
        font-size: 34px;
    }

    .donate-emi {
        align-items: flex-start;
    }
}
