/* common style start */
:root{
    --themeRed: #d49c1c;
    --themeRedDark: #af7f14;
    --secondary: #1f2733;
    --light: #f7f5ee;
    --gray: #efefef;
    --text: #272727;
}

html {
    scroll-behavior: smooth;
}

button,
body {
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    padding-bottom: 80px; /* Space for donate bar */
    padding-top: 90px; /* Space for fixed header */
    background-color: var(--light);
    color: var(--text);
}

*{  
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p{
    font-size: 14px;
    color: var(--text);
    line-height: 1.8;
}
.fullContainer{
    width: 100%;
}

.container{
    max-width: 1140px;
    margin: auto;
    padding: 0 20px;
}

.sectionTitle{
    width: fit-content;
    border-bottom: 3px solid var(--themeRed);
    text-align: center;
    font-size: 2rem;
    font-weight: 200;
    margin: 0 auto 50px ;
    position: relative;
    padding: 10px 0;
    text-transform: uppercase;
}
.sectionTitle::after{
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: var(--themeRed);
    position: absolute;
    left: calc(50% - 10px);
    top: calc(75% - 7px);
    transform: rotate(45deg) translate(50% ,50%);
    border: 3px solid #fff;
}

section {
    padding: 100px 0;
    position: relative;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
/* common style end */
/* home style start */
header {
    width: 100%;
    background-color: rgba(31, 39, 51, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 250;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
}
header .container .logo {
   padding: 15px 0;
   height: 75px;
}
header .container .logo img {
    height: 100%;
}

header {
    min-height: 75px;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
header nav ul li {
    display: inline-block;
}
header nav ul li a {
    display: inline-block;
    height:75px;
    line-height: 75px;
    padding: 0 20px;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 16px;
    color: #fff;
    transition:0.3s ease;
}

header nav ul li a:hover {
    background-color: rgba(212, 156, 28, 0.18);
    color: var(--themeRed);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu.active {
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    z-index: 220;
}

.nav-menu.active ul {
    display: block;
    background-color: rgba(31, 39, 51, 0.95);
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-menu.active ul li {
    margin: 10px 0;
}

.nav-menu.active ul li a {
    height: auto;
    line-height: 1.5;
    padding: 10px 20px;
    display: block;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 260;
    }
    .nav-menu {
        display: none;
    }
    .nav-menu.active {
        display: block;
    }
    .nav-menu.active ul {
        display: block;
    }
    header .container {
        align-items: center;
    }
    .banner {
        padding: 160px 0 80px;
    }
}

.banner {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(31, 39, 51, 0.82), rgba(31, 39, 51, 0.35)), url("images/Banner.png") center/cover no-repeat;
    padding: 180px 0 80px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.banner h1 {
    margin: 0;
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.45);
    line-height: 1.05;
    font-weight: 300;
}

.banner h1 span {
    background-color: var(--themeRed);
    display: inline-block;
    line-height: 1.1;
    padding: 0 15px;
    font-weight: 600;
    border-radius: 5px;
}

.banner p {
    color: rgba(255,255,255,0.92);
    max-width: 680px;
    margin-top: 1.5rem;
    font-size: 1rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0 0 1rem;
    color: #f7f5ee;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-primary {
    background-color: var(--themeRed);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--themeRedDark);
    transform: translateY(-2px);
}

.hero-buttons form {
    display: inline;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 30px;
    border: 2px solid #fff;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* home style end */

/* aboutSections start */

.intro-text {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(39, 39, 39, 0.92);
}

#aboutSection .cards{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
}

#aboutSection .cards > div{
    background-color: #fff8e7;
    padding: 2rem;
    border: 1px solid rgba(212, 156, 28, 0.18);
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#aboutSection .cards > div:hover{
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
}

#aboutSection .cards > div h3{
    color: var(--secondary);
    font-size: 1.35rem;
    margin: 0 0 1rem;
}

#aboutSection .cards > div p{
    margin: 0;
    font-size: 0.95rem;
    color: #4f4f4f;
    line-height: 1.75;
}

#aboutSection .cards > div .title{
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
    display: inline-block;
}

#aboutSection .cards > div button{
    outline: none;
    border: 1px solid var(--themeRed);
    padding: 10px 18px;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: transparent;
    color: var(--secondary);
}

#aboutSection .cards > div button:hover{
    background-color: var(--themeRed);
    color: #fff;
    border-color: var(--themeRed);
}
/* abouSection end  */

/* programs section start */

.programs-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 16px;
    color: var(--text);
}

.programs{
    background-color: #f5f5f5;
}
.programs .boxContainer{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 50px;
}

.programs .boxContainer .box{
    background-color: #fff;
    padding-bottom: 25px;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.programs .boxContainer .box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.programs .boxContainer .box .cardimage{
    width: 100%;
    height: 300px;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
}

.programs .boxContainer .box .cardimage::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    top: 0;
    left: 0;
    filter: grayscale(100%);
    transition: 0.4s;
}

.programs .boxContainer .box:nth-child(1) .cardimage,
.programs .boxContainer .box:nth-child(1) .cardimage::after{
     background-image: url("images/Education to every child.jpg");
}
.programs .boxContainer .box:nth-child(2) .cardimage,
.programs .boxContainer .box:nth-child(2) .cardimage::after{
     background-image: url("images/don.jpeg");
}
.programs .boxContainer .box:nth-child(3) .cardimage,
.programs .boxContainer .box:nth-child(3) .cardimage::after{
     background-image: url("images/Dedication to helping kids.jpg");
}
.programs .boxContainer .box:nth-child(4) .cardimage,
.programs .boxContainer .box:nth-child(4) .cardimage::after{
     background-image: url("images/waterhand.jpg");
}
.programs .boxContainer .box:hover .cardimage:after{
    top: 100%;
}

.programs .boxContainer .box .programTitle{
    font-size: 16px;
    margin-top: 15px;
    font-weight: 600;
    color: var(--secondary);
}

.program-desc {
    font-size: 14px;
    color: #666;
    margin: 10px 15px;
    line-height: 1.5;
}

.programs .boxContainer .box .donationCount{
    font-size: 13px;
    color: #444;
    font-weight: 600;
    margin-top: 10px;
}


.programs .boxContainer .box .donationCount span{
    color: var(--themeRed);
}

.programs .boxContainer .box button{
    display: inline-block;
    margin: 15px auto 0;
    background-color: var(--themeRed);
    color: #fff;
    border-radius: 60px;
    padding: 8px 20px;
    border: 0;
    outline: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.programs .boxContainer .box button:hover {
    background-color: var(--themeRedDark);
}

/* stats section */
.stats {
    background-color: var(--secondary);
    color: #fff;
}

.stats-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.statsContainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--themeRed);
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.education{
    height: 100vh;
    overflow: hidden;
    position: relative;
}
.education .videoPlayer{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.education .sectionTitle{
    color: #fff;
    text-shadow: 0 0 4px #000;
}

.education .educationContainer 
{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.65);
    width: min(600px, calc(100% - 40px));
    top: 35vh;
    color: #fff;
    text-shadow: 0 0 3px #000;
    padding: 30px;
    z-index: 2;
}
.education .educationContainer h3{
    font-size: 35px;
    font-weight: 300;
   
}

.education .educationContainer p{
     margin: 10px 0 30px;
     font-size: 15px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.55);
}

.education .educationContainer button {
background-color: var(--themeRed);
border: 0;
color: #fff;
padding: 10px 25px;
font-weight: bold;
font-size: 14px;
outline: none;
}
/* gallery section start */
.gallery {
    background-color: #f9f9f9;
}

.gallery .galleryContainer{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 140px;
    gap: 18px;
}
.gallery .galleryContainer .item{
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: stretch;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.gallery .galleryContainer .item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.gallery .galleryContainer .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery .galleryContainer .title{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
    color: #fff;
    padding: 12px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    text-align: center;
}
.gallery .galleryContainer .item:hover .title{
    opacity: 1;
}
.gallery .galleryContainer .item:hover img{
    transform: scale(1.08);
    filter: brightness(0.7);
}

.gallery .galleryContainer .item:nth-child(1){ grid-row: span 3; }
.gallery .galleryContainer .item:nth-child(2){ grid-row: span 2; }
.gallery .galleryContainer .item:nth-child(3){ grid-row: span 1; }
.gallery .galleryContainer .item:nth-child(4){ grid-row: span 2; }
.gallery .galleryContainer .item:nth-child(5){ grid-row: span 1; }
.gallery .galleryContainer .item:nth-child(6){ grid-row: span 2; }
.gallery .galleryContainer .item:nth-child(7){ grid-row: span 2; }
.gallery .galleryContainer .item:nth-child(8){ grid-row: span 1; }

@media screen and (max-width: 940px) {
    .gallery .galleryContainer{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 130px;
    }
}

@media screen and (max-width: 620px) {
    .gallery .galleryContainer{
        grid-template-columns: 1fr;
        grid-auto-rows: 160px;
    }
}

/* JOIN US section start here */
.join-us {
    background: linear-gradient(135deg, rgba(212, 156, 28, 0.95), rgba(175, 127, 20, 0.95));
    color: #fff;
    padding: 100px 0;
}
.join-us .container {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.join-us .joinTitle {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: 1rem;
}
.join-us .joinTitle span {
    font-weight: 700;
    display: block;
}

.join-us .container p {
    color: rgba(255, 255, 255, 0.94);
    margin-bottom: 2rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.join-us .button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.join-us button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.join-us button:hover {
    transform: translateY(-2px);
}

.join-us button.joinNow {
    background-color: #fff;
    color: var(--secondary);
}

.join-us button.adoptBtn {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.join-us button.adoptBtn:hover {
    background-color: #fff;
    color: var(--secondary);
}

.join-us button.btn-secondary {
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.join-us button.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.28);
}
/* JOIN US section END here */

/* footer start  */
footer .container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 10px;
}
footer .title{
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 2px solid;
    margin-bottom: 30px;
    padding: 0 0 5px;
}
footer p{
    margin-bottom: 10px;
}

footer .linksContainer ul{
    list-style-type: none;
}
footer .linksContainer ul li{
    text-decoration: none;
    color:#f7f7f7;
    margin-bottom: 10px;
    display: inline-block;
}


footer .newsletterContainer img{
    height: 10px;
    margin-bottom: 11px;
}


footer .newsletterContainer input{
    padding: 7px 15px;
    border: 1px solid #f7f7f7;
    background-color: transparent;
    outline: none;
    color: #ccc;
    width: 100%;
    padding: 10px 15px;
    border-radius: 30px;
    margin-top: 10px;
}
/* responsive style start here */
@media screen and (max-width: 1140px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
}
.education .videoPlayer{
    width: 1200px;
}
@media screen and (max-width: 1080px) {
    .banner h1 {
        margin-top: 200px;
    }
    #aboutSection .cards {
        justify-content: space-around;
        height: auto;
    }

    #aboutSection .cards > div {
        margin: 10px 0;

    }
    
}

@media screen and (max-width: 1024px) {
    .banner{
        background-position-x:45% ;
    }
    .banner h1 {
        font-size: 2.5rem;
    }
    .programs .boxContainer {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 760px){
    header .nav-menu {
        position: relative;
        border: 2px solid #fff;
        height: 30px;
        width: 30px;
        margin-top: 20px;
        border-radius: 5px;
        cursor: pointer;
    }
    header .nav-menu::after{

            top: 17px;
    }
     header .nav-menu::before{
        top: 7px;
     }
    
     header .nav-menu::after,
     header .nav-menu::before{
        content: ""; 
        height: 2px;
        width: 17px;
        background-color: #fff;
        position: absolute;
        left: 5px;
       display: block;}
       header .nav-menu ul {
        position: absolute;
        top: 40px;
        right: -320px;
        transition: 0.5s;
        width: 300px;
        background-color: rgba(0, 0, 0, 0.9);
       }
     
       header .nav-menu.active ul{
        right: 0;
       }
       header .nav-menu ul li {
        display: block;
       
       }

       header .nav-menu ul li a {
        width: 300px;
        background-color: rgba(0, 0, 0, 0.6);
       }

       .banner{
        background-position-x: 65%;
       }
       .banner p{
        font-size: 14px;
       }
       .banner p,.banner h1{
        width: 70%;
       }

       #aboutSection .cards > div:hover {
        width: 350px;
       }
       .education .educationContainer h3{
        font-size: 30px;
        line-height: 35px;
       }
       .education .educationContainer p{
        margin: 10px 0 20px;
    }

       .education .educationContainer{
        width: 50%;
       }

       .gallery .galleryContainer{
        column-count: 2;
       }

}

@media screen and (max-width: 425px){
    .banner h1 {
        margin-top: 150px;
        font-size: 2rem;
        line-height: 3rem;
    }
    .banner button{
        margin-bottom: 10px;
    }

    #aboutSection p {
        text-align: justify;
    }
    #aboutSection .cards > div:hover {
    width: 400px;
    margin-top: 10px;
    padding: 35px;
    }
    .programs .boxContainer {
        grid-template-columns: 1fr;
    }
     .education .videoPleyer{
        width: 1400px;
    }
    .education .educationContainer{
        width: 93%;
    }
    .gallery .galleryContainer{
        column-count: 1;
    }
    footer .container{
        grid-template-columns: 1fr ;
    }
}


@media screen and (max-width: 320px){
.education .educationContainer h3{
    font-size: 25px;
    line-height: 24px;
}
.banner h1 {
    margin-top: 120px;
    font-size: 1.5rem;
    line-height: 2.5rem;
}
}

/* Donate CTA Bar */
.donate-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--themeRed);
    color: #fff;
    padding: 1rem 0;
    z-index: 100;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.donate-cta .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.donate-cta p {
    margin: 0;
    font-size: 1rem;
    color: #fff;
}

.donate-cta form {
    display: inline;
}

.donate-cta .btn-primary {
    background-color: #fff;
    color: var(--themeRed);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.donate-cta .btn-primary:hover {
    background-color: var(--light);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .donate-cta .container {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
/* ── Donation Modal ─────────────────────────────────────────────── */
.donate-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}
.donate-modal-overlay.open {
    display: flex;
}
.donate-modal {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2.5rem 2rem 2rem;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { opacity:0; transform: translateY(30px) scale(0.97); }
    to   { opacity:1; transform: translateY(0)   scale(1);    }
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f1f1f1;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: #555;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover { background: #e2e2e2; }
.modal-logo {
    text-align: center;
    margin-bottom: 1rem;
}
.modal-logo img {
    height: 38px;
}
.donate-modal h2 {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.35rem;
}
.modal-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.75rem;
}
.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}
.amount-btn {
    background: #f7f5ee;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}
.amount-btn:hover {
    border-color: var(--themeRed);
    background: #fff8e7;
}
.amount-btn.selected {
    background: var(--themeRed);
    border-color: var(--themeRed);
    color: #fff;
}
.custom-amount-wrap {
    margin-bottom: 1.5rem;
}
.custom-amount-wrap label {
    display: block;
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.custom-amount-input {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.2s;
}
.custom-amount-input:focus-within {
    border-color: var(--themeRed);
}
.dollar-sign {
    padding: 0 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #555;
    background: #f7f5ee;
    border-right: 2px solid #ddd;
    height: 100%;
    display: flex;
    align-items: center;
    align-self: stretch;
}
.custom-amount-input input {
    border: none;
    outline: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}
.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.modal-donate-btn {
    background: #003087;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-donate-btn:hover {
    background: #002070;
    transform: translateY(-2px);
}
.modal-cancel-btn {
    background: transparent;
    color: #999;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 0.7rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}
.modal-cancel-btn:hover { background: #f5f5f5; }
.modal-secure-note {
    text-align: center;
    font-size: 0.75rem;
    color: #aaa;
    margin: 0;
    line-height: 1.5;
}
@media (max-width: 480px) {
    .donate-modal { padding: 2rem 1.25rem 1.5rem; }
    .amount-grid  { grid-template-columns: repeat(2, 1fr); }
}
