/* =====================================================
   Rumah Udunan Kita Donation Page
   Part 2.1
======================================================*/

:root{

    --primary:#B8661E;
    --primary-dark:#9F571A;
    --secondary:#FFF8F2;
    --background:#F8F6F3;

    --dark:#2E2218;
    --text:#4A4038;
    --border:#E7D8C9;

    --white:#ffffff;

    --radius:20px;

    --shadow:0 12px 35px rgba(0,0,0,.08);

    --transition:.3s;

}

/* ===================================================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:var(--background);

    color:var(--text);

    line-height:1.7;

}

/* ===================================================== */

a{

    text-decoration:none;

    transition:.3s;

}

img{

    max-width:100%;

}

section{

    padding:80px 0;

}

/* ===================================================== */
/* Navbar */
/* ===================================================== */

.navbar{

    background:#fff !important;

    box-shadow:0 5px 20px rgba(0,0,0,.05);

    padding:18px 0;

}

.navbar-brand img{

    height:55px;

}

.nav-link{

    color:var(--dark)!important;

    font-weight:500;

    margin-left:20px;

}

.nav-link:hover{

    color:var(--primary)!important;

}

/* ===================================================== */
/* Hero */
/* ===================================================== */

.hero-section{

    position:relative;

    overflow:hidden;

    padding:120px 0;

    background:

    linear-gradient(

    rgba(46,34,24,.72),

    rgba(46,34,24,.72)

    ),

    url("../img/hero.jpg");

    background-size:cover;

    background-position:center;

    color:#fff;

}

.hero-section::after{

    content:"";

    position:absolute;

    inset:0;

    background:

    radial-gradient(circle at top right,

    rgba(184,102,30,.15),

    transparent 60%);

}

.hero-section .container{

    position:relative;

    z-index:2;

}

.hero-section h1{

    font-size:60px;

    font-weight:800;

    line-height:1.15;

    margin-bottom:30px;

}

.hero-section p{

    font-size:20px;

    max-width:850px;

    margin:auto;

    opacity:.95;

}

.hero-section .badge{

    background:var(--primary);

    color:#fff;

    padding:10px 25px;

    font-size:14px;

    border-radius:100px;

    letter-spacing:1px;

}

.hero-section .btn{

    margin-top:45px;

}

/* ===================================================== */
/* Donation Card */
/* ===================================================== */

.donation-card{

    background:#fff;

    border-radius:28px;

    box-shadow:var(--shadow);

    padding:45px;

    margin-top:-80px;

    position:relative;

    z-index:10;

}

.card-header{

    border:none;

    background:none;

    padding:0;

    margin-bottom:40px;

}

.card-header h2{

    font-size:34px;

    font-weight:700;

    color:var(--dark);

}

.card-header p{

    color:#7b726b;

    margin-top:10px;

}

/* ===================================================== */
/* Form */
/* ===================================================== */

.form-group{

    margin-bottom:35px;

}

.form-label{

    display:block;

    margin-bottom:12px;

    font-weight:600;

    color:var(--dark);

    text-transform:uppercase;

    letter-spacing:.5px;

    font-size:14px;

}

.form-control{

    border:2px solid var(--border);

    border-radius:16px;

    min-height:58px;

    padding:18px;

    font-size:16px;

    transition:.3s;

    box-shadow:none;

}

textarea.form-control{

    min-height:150px;

    resize:none;

}

.form-control:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 .2rem rgba(184,102,30,.12);

}

/* ===================================================== */
/* Input Group */
/* ===================================================== */

.input-group-text{

    border:2px solid var(--border);

    border-right:none;

    background:#fff;

    font-weight:700;

    color:var(--primary);

    border-radius:16px 0 0 16px;

}

.input-group .form-control{

    border-left:none;

    border-radius:0 16px 16px 0;

}

/* ===================================================== */
/* Alert */
/* ===================================================== */

.alert{

    border:none;

    border-radius:18px;

}

.alert-primary{

    background:#FFF5EC;

    color:var(--primary);

}

/* ===================================================== */
/* Footer */
/* ===================================================== */

.footer{

    background:var(--dark);

    color:#fff;

}

.footer a{

    color:#fff;

}

.footer a:hover{

    color:#FFD2A8;

}

/* ===================================================== */
/* Responsive */
/* ===================================================== */

@media(max-width:992px){

.hero-section{

padding:90px 0;

}

.hero-section h1{

font-size:44px;

}

.donation-card{

padding:30px;

margin-top:-60px;

}

}

@media(max-width:768px){

section{

padding:60px 0;

}

.hero-section{

padding:70px 0;

}

.hero-section h1{

font-size:34px;

}

.hero-section p{

font-size:16px;

}

.donation-card{

padding:25px;

border-radius:22px;

margin-top:-40px;

}

}

@media(max-width:576px){

.hero-section h1{

font-size:30px;

}

.form-control{

min-height:54px;

}

}
/* =====================================================
   PART 2.2
   Nominal Button
   Program Card
   Switch
   Summary
   Donate Button
======================================================*/

/* ==============================
   Nominal Donasi
============================== */

.amount-list{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:15px;

}

.amount-item{

    width:100%;

    border:2px solid var(--border);

    background:#fff;

    border-radius:18px;

    padding:18px;

    cursor:pointer;

    transition:.3s;

    font-weight:700;

    color:var(--dark);

    text-align:center;

}

.amount-item:hover{

    border-color:var(--primary);

    color:var(--primary);

    transform:translateY(-3px);

}

.amount-item.active{

    background:var(--primary);

    color:#fff;

    border-color:var(--primary);

    box-shadow:0 10px 30px rgba(184,102,30,.25);

}

/* ==============================
   Program
============================== */

.program-list{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}

.program-item{

    position:relative;

    border:2px solid var(--border);

    border-radius:22px;

    background:#fff;

    cursor:pointer;

    transition:.3s;

    overflow:hidden;

}

.program-item input{

    display:none;

}

.program-item span{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    min-height:150px;

    gap:15px;

    font-weight:600;

    color:var(--dark);

}

.program-item span::before{

    font-size:34px;

}

.program-item:hover{

    transform:translateY(-4px);

    border-color:var(--primary);

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.program-item.active{

    border-color:var(--primary);

    background:#FFF5EC;

}

.program-item.active::after{

    content:"✓";

    position:absolute;

    top:15px;

    right:15px;

    width:28px;

    height:28px;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:14px;

}

/* ==============================
   Anonymous
============================== */

.checkbox-area{

    margin:25px 0;

}

.checkbox-area label{

    display:flex;

    align-items:center;

    gap:10px;

    cursor:pointer;

}

.checkbox-area input{

    width:18px;

    height:18px;

}

/* ==============================
   Monthly
============================== */

.monthly-box{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:22px;

    background:#FFF9F4;

    border-radius:18px;

    border:1px solid var(--border);

    margin-bottom:30px;

}

.monthly-box strong{

    display:block;

    color:var(--dark);

}

.monthly-box small{

    color:#777;

}

.switch{

    position:relative;

    width:60px;

    height:34px;

}

.switch input{

    display:none;

}

.slider{

    position:absolute;

    inset:0;

    border-radius:100px;

    background:#ddd;

    transition:.3s;

}

.slider:before{

    content:"";

    position:absolute;

    width:26px;

    height:26px;

    border-radius:50%;

    background:#fff;

    top:4px;

    left:4px;

    transition:.3s;

    box-shadow:0 2px 8px rgba(0,0,0,.2);

}

.switch input:checked + .slider{

    background:var(--primary);

}

.switch input:checked + .slider:before{

    transform:translateX(26px);

}

/* ==============================
   Summary
============================== */

.summary-box{

    background:#FFF5EC;

    border-radius:22px;

    padding:25px;

    margin:35px 0;

    border:1px solid var(--border);

}

.summary-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.summary-item span{

    font-size:15px;

    color:#777;

}

.summary-item strong{

    font-size:30px;

    color:var(--primary);

}

/* ==============================
   Donate Button
============================== */

.btn-donate{

    width:100%;

    border:none;

    border-radius:18px;

    padding:20px;

    font-size:18px;

    font-weight:700;

    color:#fff;

    cursor:pointer;

    background:linear-gradient(
        135deg,
        #B8661E,
        #D9872B
    );

    transition:.3s;

    box-shadow:0 15px 35px rgba(184,102,30,.30);

}

.btn-donate:hover{

    transform:translateY(-3px);

    box-shadow:0 20px 45px rgba(184,102,30,.40);

}

.btn-donate:active{

    transform:scale(.98);

}

/* ==============================
   Share
============================== */

.share-box{

    text-align:center;

    margin-top:45px;

}

.share-title{

    color:#888;

    margin-bottom:20px;

}

.share-icons{

    display:flex;

    justify-content:center;

    gap:18px;

}

.share-icons a{

    width:52px;

    height:52px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#fff;

    color:var(--primary);

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.share-icons a:hover{

    background:var(--primary);

    color:#fff;

    transform:translateY(-5px);

}

/* ==============================
   Responsive
============================== */

@media(max-width:768px){

.amount-list{

grid-template-columns:repeat(2,1fr);

}

.program-list{

grid-template-columns:1fr;

}

.summary-item{

flex-direction:column;

gap:10px;

}

.summary-item strong{

font-size:26px;

}

.monthly-box{

flex-direction:column;

align-items:flex-start;

gap:20px;

}

}

@media(max-width:480px){

.amount-list{

grid-template-columns:1fr;

}

.btn-donate{

font-size:17px;

padding:18px;

}

}
/* =====================================================
   PART 2.3
   Animation + Desktop + Tablet + Mobile
======================================================*/

/* ==============================
   Fade Animation
============================== */

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(40px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

@keyframes fadeLeft{

    from{

        opacity:0;
        transform:translateX(-40px);

    }

    to{

        opacity:1;
        transform:translateX(0);

    }

}

@keyframes fadeRight{

    from{

        opacity:0;
        transform:translateX(40px);

    }

    to{

        opacity:1;
        transform:translateX(0);

    }

}

@keyframes zoomIn{

    from{

        opacity:0;
        transform:scale(.9);

    }

    to{

        opacity:1;
        transform:scale(1);

    }

}

@keyframes floating{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-8px);

    }

    100%{

        transform:translateY(0);

    }

}

/* ==============================
   Animation Class
============================== */

.hero-section{

    animation:fadeUp .8s ease;

}

.donation-card{

    animation:zoomIn .8s ease;

}

.amount-item{

    animation:fadeUp .4s ease;

}

.program-item{

    animation:fadeUp .6s ease;

}

.btn-donate{

    animation:fadeUp .8s ease;

}

.footer{

    animation:fadeUp .9s ease;

}

/* ==============================
   Hover Effect
============================== */

.form-control:hover{

    border-color:var(--primary);

}

.form-control::placeholder{

    color:#AAA;

}

.card{

    transition:.3s;

}

.card:hover{

    transform:translateY(-4px);

}

/* ==============================
   Scrollbar
============================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#F4F1EE;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary-dark);

}

/* ==============================
   Selection
============================== */

::selection{

    background:var(--primary);

    color:#fff;

}

/* ==============================
   Desktop XL
============================== */

@media(min-width:1400px){

.container{

    max-width:1280px;

}

.hero-section{

    min-height:700px;

    display:flex;

    align-items:center;

}

.hero-section h1{

    font-size:72px;

}

.hero-section p{

    font-size:22px;

}

.donation-card{

    margin-top:-120px;

    padding:55px;

}

}

/* ==============================
   Desktop
============================== */

@media(max-width:1200px){

.hero-section h1{

    font-size:58px;

}

.hero-section{

    min-height:600px;

}

.donation-card{

    margin-top:-90px;

}

}

/* ==============================
   Tablet Landscape
============================== */

@media(max-width:992px){

.navbar{

    padding:15px 0;

}

.nav-link{

    margin-left:0;

    margin-top:10px;

}

.hero-section{

    padding:90px 0;

    min-height:auto;

}

.hero-section h1{

    font-size:46px;

}

.hero-section p{

    font-size:18px;

}

.donation-card{

    padding:35px;

    margin-top:-70px;

}

.card-header h2{

    font-size:30px;

}

}

/* ==============================
   Tablet Portrait
============================== */

@media(max-width:768px){

section{

    padding:60px 0;

}

.hero-section{

    text-align:center;

}

.hero-section h1{

    font-size:36px;

    line-height:1.3;

}

.hero-section p{

    font-size:16px;

}

.hero-section .badge{

    font-size:12px;

}

.donation-card{

    padding:25px;

    border-radius:24px;

    margin-top:-50px;

}

.card-header{

    margin-bottom:30px;

}

.card-header h2{

    font-size:28px;

}

.card-header p{

    font-size:15px;

}

}

/* ==============================
   Mobile
============================== */

@media(max-width:576px){

body{

    font-size:15px;

}

.hero-section{

    padding:70px 0;

}

.hero-section h1{

    font-size:30px;

}

.hero-section p{

    font-size:15px;

}

.donation-card{

    padding:22px;

    border-radius:20px;

}

.form-label{

    font-size:13px;

}

.form-control{

    font-size:15px;

    min-height:54px;

}

.input-group-text{

    font-size:15px;

}

.summary-item strong{

    font-size:24px;

}

.btn-donate{

    font-size:17px;

    padding:17px;

}

.footer{

    text-align:center;

}

.footer .row>div{

    margin-bottom:30px;

}

}

/* ==============================
   Small Mobile
============================== */

@media(max-width:420px){

.hero-section h1{

    font-size:26px;

}

.hero-section p{

    font-size:14px;

}

.amount-item{

    padding:15px;

    font-size:15px;

}

.program-item span{

    min-height:120px;

    font-size:15px;

}

.program-item span::before{

    font-size:30px;

}

.card-header h2{

    font-size:24px;

}

.btn-donate{

    font-size:16px;

}

}

/* ==============================
   Reduce Motion
============================== */

@media(prefers-reduced-motion:reduce){

*{

    animation:none !important;

    transition:none !important;

    scroll-behavior:auto !important;

}

}
/* =====================================================
   PART 2.4
   UI Refinement
   Rumah Udunan Kita
======================================================*/

/* ==============================
   Page Background
============================== */

body{

    background:
        linear-gradient(180deg,#FFF8F2 0%,#F8F6F3 45%,#FFFFFF 100%);

}

/* ==============================
   Hero Overlay
============================== */

.hero-section{

    position:relative;

    overflow:hidden;

}

.hero-section::before{

    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            rgba(46,34,24,.78),
            rgba(46,34,24,.72)
        );

}

.hero-section .container{

    position:relative;

    z-index:2;

}

/* ==============================
   Donation Card
============================== */

.donation-card{

    border:1px solid rgba(184,102,30,.08);

    backdrop-filter:blur(15px);

    transition:.35s;

}

.donation-card:hover{

    transform:translateY(-5px);

    box-shadow:
        0 20px 60px rgba(0,0,0,.08);

}

/* ==============================
   Section Label
============================== */

.form-label{

    font-size:13px;

    color:#84654A;

    letter-spacing:1px;

}

/* ==============================
   Amount Button
============================== */

.amount-item{

    height:72px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:18px;

    font-weight:700;

    border-radius:18px;

    background:#fff;

}

.amount-item:hover{

    background:#FFF6EE;

}

.amount-item.active{

    background:linear-gradient(
        135deg,
        #B8661E,
        #D7852B
    );

    color:#fff;

}

/* ==============================
   Custom Amount
============================== */

.input-group{

    overflow:hidden;

    border-radius:18px;

}

.input-group-text{

    background:#FFF6EE;

    color:#B8661E;

}

/* ==============================
   Program Card
============================== */

.program-item{

    min-height:170px;

}

.program-item span{

    padding:20px;

    text-align:center;

    line-height:1.5;

}

.program-item.active{

    background:#FFF7EF;

}

.program-item.active::after{

    width:34px;

    height:34px;

    font-size:16px;

}

/* ==============================
   Input
============================== */

.form-control{

    background:#fff;

}

.form-control:focus{

    background:#fff;

}

/* ==============================
   Textarea
============================== */

textarea.form-control{

    min-height:170px;

}

/* ==============================
   Summary
============================== */

.summary-box{

    background:

        linear-gradient(
            135deg,
            #FFF9F4,
            #FFF2E5
        );

}

.summary-item strong{

    font-size:34px;

}

/* ==============================
   Donate Button
============================== */

.btn-donate{

    position:relative;

    overflow:hidden;

}

.btn-donate::before{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:100%;

    height:100%;

    background:

    linear-gradient(

    120deg,

    transparent,

    rgba(255,255,255,.35),

    transparent

    );

    transition:.7s;

}

.btn-donate:hover::before{

    left:120%;

}

/* ==============================
   Footer
============================== */

.footer{

    margin-top:120px;

}

.footer-logo{

    max-height:70px;

}

/* ==============================
   Divider
============================== */

hr{

    opacity:.08;

}

/* ==============================
   Badge
============================== */

.badge{

    font-weight:600;

    letter-spacing:1px;

}

/* ==============================
   Scroll Effect
============================== */

.reveal{

    opacity:0;

    transform:translateY(30px);

    transition:.8s;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}

/* ==============================
   Hover Lift
============================== */

.hover-lift{

    transition:.35s;

}

.hover-lift:hover{

    transform:translateY(-8px);

}

/* ==============================
   Card Animation
============================== */

.amount-item,
.program-item,
.btn-donate{

    transition:
        transform .25s,
        box-shadow .25s,
        background .25s,
        color .25s;

}

/* ==============================
   Responsive Refinement
============================== */

@media(max-width:768px){

    .amount-item{

        height:64px;

        font-size:16px;

    }

    .program-item{

        min-height:145px;

    }

    .summary-item strong{

        font-size:28px;

    }

}

@media(max-width:576px){

    .hero-section{

        padding-top:90px;

    }

    .donation-card{

        margin-top:-35px;

    }

}
.program-list{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.program-item{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:80px;
    text-align:center;
    cursor:pointer;
}

.program-item span{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    font-size:15px;
}

.program-item strong{
    font-size:14px;
    line-height:1.3;
}

@media (max-width:768px){
    .program-list{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:480px){
    .program-list{
        grid-template-columns:1fr;
    }
}
/* ========================================
   DONATION CONTENT WRAPPER
======================================== */

.donation-content{
    width:100%;
    margin-top:50px;
    margin-bottom:80px;
}

.donation-content-wrapper{

    max-width:1200px;

    margin:0 auto;

    background:#fff;

    border-radius:30px;

    padding:55px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.06);

}

/* Card di dalam wrapper */

.distribution-card,
.trust-card{

    background:transparent;

    border:none;

    box-shadow:none;

    padding:0;

}

.trust-card{

    margin-top:70px;

    padding-top:60px;

    border-top:1px solid #ececec;

}

/* Heading */

.distribution-card h2,
.trust-card h3{

    font-size:48px;

    font-weight:700;

    color:#333;

    margin-bottom:25px;

    line-height:1.2;

}

/* Paragraph */

.distribution-card p,
.trust-card p{

    font-size:21px;

    line-height:1.9;

    color:#555;

}

/* Sub Heading */

.distribution-card h4{

    margin-top:45px;

    margin-bottom:25px;

    font-size:34px;

    color:#333;

}

/* List */

.distribution-card ul,
.trust-card ul{

    padding-left:28px;

}

.distribution-card li,
.trust-card li{

    margin-bottom:15px;

    font-size:20px;

    line-height:1.8;

    color:#444;

}

/* Responsive */

@media(max-width:992px){

    .donation-content-wrapper{

        padding:40px;

    }

    .distribution-card h2,
    .trust-card h3{

        font-size:38px;

    }

}

@media(max-width:768px){

    .donation-content{

        margin-top:35px;

    }

    .donation-content-wrapper{

        padding:30px 22px;

        border-radius:22px;

    }

    .distribution-card h2,
    .trust-card h3{

        font-size:30px;

    }

    .distribution-card h4{

        font-size:24px;

    }

    .distribution-card p,
    .trust-card p,
    .distribution-card li,
    .trust-card li{

        font-size:17px;

    }

}
/* ===================================
   DONATION SECTION
=================================== */

.donation-section{

    max-width:1200px;

    margin:60px auto;

    background:#fff;

    border-radius:28px;

    padding:50px;

    box-shadow:
        0 15px 45px rgba(0,0,0,.08);

    position:relative;

}

/* Hilangkan background card di dalam */

.donation-section .distribution-card,
.donation-section .trust-card{

    background:transparent;

    box-shadow:none;

    border:none;

    padding:0;

}

/* Beri jarak antar section */

.donation-section .trust-card{

    margin-top:60px;

    padding-top:60px;

    border-top:1px solid #ececec;

}

/* Responsive */

@media (max-width:768px){

    .donation-section{

        margin:40px 15px;

        padding:30px 22px;

        border-radius:20px;

    }

}
.donation-section{
    background:#fff;
    border-radius:32px;
    padding:60px;
    max-width:1200px;
    margin:60px auto;
    box-shadow:
        0 20px 60px rgba(0,0,0,.08),
        0 5px 15px rgba(184,102,30,.08);
}