/* ==========================================
   WHY DONATE PAGE CSS
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---------- Reset ---------- */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f7f9fc;
    color:#333;
    line-height:1.6;
}

/* ---------- Header ---------- */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#ffffff;
    padding:18px 5%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 2px 12px rgba(0,0,0,.1);
    z-index:1000;
}

.logo{
    font-size:28px;
    font-weight:700;
    color:#d62828;
}

/* ---------- Navigation Buttons ---------- */

nav{
    display:flex;
    gap:15px;
    align-items:center;
    flex-wrap:wrap;
}

nav a{
    text-decoration:none;
    color:#fff;
    background:linear-gradient(45deg,#e53935,#ff6b6b);
    padding:10px 22px;
    border-radius:30px;
    font-size:16px;
    font-weight:600;
    transition:all .3s ease;
    display:inline-block;
}

nav a:hover{
    background:linear-gradient(45deg,#c62828,#e53935);
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(229,57,53,.4);
}

/* ---------- Why Donate ---------- */

.why-donate{
    padding:90px 10%;
}

.why-donate h2{
    text-align:center;
    color:#d62828;
    font-size:40px;
    margin-bottom:50px;
}

.container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.card{
    background:white;
    padding:35px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.card i{
    font-size:55px;
    color:#d62828;
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
    color:#d62828;
}

/* ---------- Facts ---------- */

.facts{
    background:#ffffff;
    padding:90px 10%;
}

.facts h2{
    text-align:center;
    color:#d62828;
    font-size:40px;
    margin-bottom:50px;
}

.facts-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

.fact-box{
    background:#d62828;
    color:white;
    padding:40px;
    border-radius:15px;
    text-align:center;
}

.fact-box h3{
    font-size:42px;
    margin-bottom:10px;
}

/* ---------- Process ---------- */

.process{
    padding:90px 10%;
}

.process h2{
    text-align:center;
    color:#d62828;
    margin-bottom:50px;
    font-size:40px;
}

.steps{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

.step{
    background:white;
    padding:30px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.step:hover{
    transform:translateY(-10px);
}

.step span{
    display:inline-flex;
    width:60px;
    height:60px;
    background:#d62828;
    color:white;
    border-radius:50%;
    align-items:center;
    justify-content:center;
    font-size:24px;
    font-weight:bold;
    margin-bottom:20px;
}

.step h3{
    margin-bottom:15px;
    color:#d62828;
}

/* ---------- Quote ---------- */

.quote{
    background:#d62828;
    color:white;
    padding:80px 10%;
    text-align:center;
}

.quote h2{
    font-size:34px;
    font-weight:600;
    line-height:1.5;
}

/* ---------- Footer ---------- */

footer{
    background:#111;
    color:white;
    text-align:center;
    padding:40px 20px;
}

footer h3{
    margin-bottom:15px;
}

.social{
    margin:20px 0;
}

.social i{
    font-size:28px;
    margin:0 12px;
    cursor:pointer;
    transition:.3s;
}

.social i:hover{
    color:#ff4d4d;
}

.copy{
    color:#ccc;
    font-size:14px;
}

/* ---------- Responsive ---------- */

@media(max-width:992px){

    header{
        flex-direction:column;
        padding:15px;
    }

    nav{
        margin-top:15px;
        flex-wrap:wrap;
        justify-content:center;
    }

}

@media(max-width:768px){

    .hero h1{
        font-size:38px;
    }

    .hero p{
        font-size:17px;
    }

    .why-donate h2,
    .facts h2,
    .process h2{
        font-size:32px;
    }

    .quote h2{
        font-size:26px;
    }

}

@media(max-width:480px){

    .logo{
        font-size:22px;
    }

    .hero h1{
        font-size:30px;
    }

    .hero p{
        font-size:15px;
    }

}