/*==================================================
                DONATION SECTION
==================================================*/

.donation-section{
    width:100%;
    padding:60px 0;
    background:#f4f9fc;
}

.donation-container{
    width:90%;
    max-width:1300px;
    margin:auto;
}

/*==================================================
                WRAPPER
==================================================*/

.donation-wrapper{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:35px;
}

/*==================================================
                LEFT FORM
==================================================*/

.donation-form{
    flex:1;
    background:#fff;
    border-radius:18px;
    padding:35px;
    height:760px;
    overflow-y:auto;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    border-right:5px solid #008ad0;
    border-right:none;
}

/*==================================================
                SCROLLBAR
==================================================*/

.donation-form::-webkit-scrollbar{
    width:4px;
}

.donation-form::-webkit-scrollbar-track{
    background:#ececec;
    border-radius:20px;
}

.donation-form::-webkit-scrollbar-thumb{
    background:#008ad0;
    border-radius:20px;
}

/*==================================================
                TITLE
==================================================*/

.donation-title{
    text-align:center;
    margin-bottom:35px;
}

.donation-title p{
    font-size:28px;
    color:#008ad0;
    font-weight:700;
}

/*==================================================
                FORM GRID
==================================================*/

.donation-form form{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.full-width{
    grid-column:1/-1;
}


/*==================================================
                FORM GROUP
==================================================*/

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group label{
    font-size:15px;
    font-weight:600;
    color:#333;
    margin-bottom:10px;
    letter-spacing:.3px;
}

.form-group label span{
    color:#ff3b30;
}

/*==================================================
                INPUT
==================================================*/

.form-group input,
.form-group textarea,
.form-group select{

    width:100%;
    padding:15px 18px;

    border:1px solid #d9d9d9;

    border-radius:10px;

    outline:none;

    background:#fff;

    font-size:15px;

    color:#333;

    transition:.35s;

}

.form-group input::placeholder,
.form-group textarea::placeholder{

    color:#9b9b9b;

}

.form-group textarea{

    resize:none;

    height:170px;

}

.form-group select{

    cursor:pointer;

}

/*==================================================
                FOCUS
==================================================*/

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{

    border-color:#008ad0;

    box-shadow:0 0 8px rgba(0,138,208,.18);

}

/*==================================================
            SMALL UPLOAD BOX
==================================================*/



.upload-preview{

    width:100%;
    height:100%;

    object-fit:cover;

    border-radius:12px;

    position:absolute;

    top:0;
    left:0;

}


.upload-box-small{

    width:180px;

    height:180px;

    border:2px dashed #cfcfcf;

    border-radius:15px;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    position:relative;

    overflow:hidden;

    cursor:pointer;

    transition:.35s;

    background:#fafafa;

}

.upload-box-small:hover{

    border-color:#008ad0;

    background:#f2fbff;

}

.upload-box-small i{

    font-size:42px;

    color:#008ad0;

    margin-bottom:15px;

}

.upload-box-small p{

    font-size:15px;

    font-weight:600;

    color:#444;

}

.upload-box-small input{

    position:absolute;

    inset:0;

    opacity:0;

    cursor:pointer;

}

/*==================================================
                DONATE BUTTON
==================================================*/

.donate-btn{

    grid-column:1/-1;

    width:100%;

    padding:17px;

    border:none;

    border-radius:10px;

    background:#008ad0;

    color:#fff;

    font-size:17px;

    font-weight:700;

    cursor:pointer;

    transition:.35s;

    margin-top:10px;

}

.donate-btn:hover{

    background:#006fa8;

    transform:translateY(-2px);

    box-shadow:0 8px 18px rgba(0,138,208,.25);

}


/*==================================================
                RIGHT SIDE
==================================================*/

.donation-upload{
    width:360px;
    flex-shrink:0;
    position:sticky;
    top:100px;
}

/*==================================================
                DONATION CARD
==================================================*/

.donation-card{

    width:100%;
    height:auto;
    background:#fff;

    border:3px solid #008ad0;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.35s ease;

}

.donation-card:hover{

    transform:translateY(-5px);

    box-shadow:0 18px 40px rgba(0,0,0,.12);

}

/*==================================================
                CARD TOP
==================================================*/

.donation-card-top{

    padding:20px;

    border-bottom:none;

    /* border-bottom:2px solid #008ad0; */

    background:#fff;

}

/*==============================
        NAME & UPI
==============================*/

.upi-row{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:12px;

}

.upi-row:last-child{

    margin-bottom:0;

}

.upi-row span{

    color:#008ad0;

    font-size:18px;

    font-weight:700;

    min-width:85px;

}

.upi-row strong{

    color:#000;
    white-space:nowrap;

    font-size:18px;

    font-weight:700;


}

/*==================================================
                CARD BODY
==================================================*/

.donation-card-body{

    padding:30px 20px;

    text-align:center;

}

.donation-card-body h3{

    font-size:26px;

    color:#333;

    font-weight:600;

    line-height:1.4;

    margin-bottom:25px;

}

/*==================================================
                QR IMAGE
==================================================*/

.qr-image{

    width:260px;

    max-width:100%;

    display:block;

    margin:auto;

}

/*==================================================
                UPI APPS
==================================================*/

.upi-apps{

    margin-top:25px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:18px;

    flex-wrap:wrap;

}

.upi-apps img{

    height:36px;

    width:auto;

    object-fit:contain;

    transition:.3s;

}

.upi-apps img:hover{

    transform:scale(1.08);

}

/*==================================================
                FOOTER
==================================================*/

.donation-card-footer{

    background:#008ad0;

    color:#fff;

    text-align:center;

    font-size:22px;

    font-weight:600;

    padding:18px;

    letter-spacing:.3px;

}


/*==================================================
                LARGE LAPTOP
==================================================*/

@media (max-width:1400px){

    .donation-container{
        width:95%;
    }

    .donation-upload{
        width:340px;
    }

    .donation-form{
        height:720px;
    }

    .qr-image{
        width:240px;
    }

}


/*==================================================
                    LAPTOP
==================================================*/

@media (max-width:1200px){

    .donation-wrapper{
        gap:25px;
    }

    .donation-upload{
        width:320px;
    }

    .donation-form{
        padding:30px;
        height:700px;
    }

    .donation-title p{
        font-size:24px;
    }

    .donation-card-body h3{
        font-size:22px;
    }

    .qr-image{
        width:220px;
    }

}


/*==================================================
                    TABLET
==================================================*/

@media (max-width:991px){

    .donation-wrapper{
        flex-direction:column;
    }

    .donation-form{
        width:100%;
        order:2;
        height:auto;
        overflow:visible;
    }

    .donation-upload{
        width:100%;
        order:1;
        position:relative;
        top:0;
    }

    .donation-card{
        max-width:500px;
        margin:auto;
    }

    .donation-form form{
        grid-template-columns:repeat(2,1fr);
    }

}


/*==================================================
                SMALL TABLET
==================================================*/

@media (max-width:768px){

    .donation-section{
        padding:50px 0;
    }

    .donation-form{
        padding:25px;
    }

    .donation-title{
        margin-bottom:25px;
    }

    .donation-title p{
        font-size:22px;
    }

    .donation-form form{
        grid-template-columns:1fr;
    }

    .full-width{
        grid-column:auto;
    }

    .upload-box-small{
        width:100%;
        max-width:200px;
        height:170px;
    }

    .upi-row{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }

    .upi-row strong{
        text-align:center;
    }

    .donation-card-body{
        padding:25px;
    }

    .donation-card-body h3{
        font-size:22px;
    }

    .qr-image{
        width:210px;
    }

    .upi-apps{
        gap:15px;
    }

    .upi-apps img{
        height:32px;
    }

    .donation-card-footer{
        font-size:18px;
    }

}


/*==================================================
                    MOBILE
==================================================*/

@media (max-width:576px){

    .donation-section{
        padding:40px 0;
    }

    .donation-container{
        width:92%;
    }

    .donation-form{
        padding:20px;
    }

    .donation-title p{
        font-size:18px;
    }

    .form-group label{
        font-size:14px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select{
        font-size:14px;
        padding:13px;
    }

    .form-group textarea{
        height:120px;
    }

    .upload-box-small{
        max-width:180px;
        height:150px;
    }

    .upload-box-small i{
        font-size:34px;
    }

    .upload-box-small p{
        font-size:13px;
    }

    .donate-btn{
        font-size:15px;
        padding:15px;
    }

    .donation-card-top{
        padding:20px;
    }

    .upi-row span{
        font-size:17px;
    }

    .upi-row strong{
        font-size:15px;
    }

    .donation-card-body h3{
        font-size:20px;
    }

    .qr-image{
        width:180px;
    }

    .upi-apps img{
        height:28px;
    }

    .donation-card-footer{
        font-size:16px;
        padding:15px;
    }

}


/*==================================================
                VERY SMALL MOBILE
==================================================*/

@media (max-width:400px){

    .donation-container{
        width:95%;
    }

    .donation-form{
        padding:15px;
    }

    .donation-title p{
        font-size:16px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select{
        font-size:13px;
        padding:12px;
    }

    .upload-box-small{
        max-width:160px;
        height:135px;
    }

    .upload-box-small i{
        font-size:30px;
    }

    .upload-box-small p{
        font-size:12px;
    }

    .donate-btn{
        font-size:14px;
    }

    .upi-row span{
        font-size:16px;
    }

    .upi-row strong{
        font-size:14px;
    }

    .donation-card-body h3{
        font-size:18px;
    }

    .qr-image{
        width:160px;
    }

    .upi-apps{
        gap:10px;
    }

    .upi-apps img{
        height:24px;
    }

    .donation-card-footer{
        font-size:14px;
        padding:14px;
    }

}






