/* ==========================
   FEED & FOREST LEGAL AID
   STYLE.CSS - PART 1
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f8fbf8;
    color:#222;
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ==========================
   NAVBAR
========================== */

header{
    position:sticky;
    top:0;
    z-index:999;
    background:#fff;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:70px;
}

.logo h2{
    font-size:22px;
    color:#1b5e20;
    font-weight:700;
}

.logo span{
    font-size:13px;
    color:#777;
}

nav ul{
    display:flex;
    gap:28px;
}

nav ul li a{
    color:#222;
    font-weight:600;
    transition:.3s;
}

nav ul li a:hover,
nav ul li a.active{
    color:#2e7d32;
}

.donate-btn{
    background:#2e7d32;
    color:#fff;
    padding:12px 24px;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}

.donate-btn:hover{
    background:#1b5e20;
}

/* ==========================
   HERO
========================== */

.hero{
    background:linear-gradient(135deg,#edf8ed,#ffffff);
    padding:80px 0;
}

.hero-content{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.hero-left h5{
    color:#2e7d32;
    letter-spacing:2px;
    margin-bottom:15px;
}

.hero-left h1{
    font-size:60px;
    line-height:1.2;
    margin-bottom:20px;
    color:#111;
}

.hero-left h1 span{
    color:#2e7d32;
}

.hero-left p{
    font-size:18px;
    color:#555;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    gap:18px;
    margin-bottom:40px;
}

.primary-btn{
    background:#2e7d32;
    color:#fff;
    padding:14px 28px;
    border-radius:40px;
    font-weight:600;
    transition:.3s;
}

.primary-btn:hover{
    background:#1b5e20;
}

.secondary-btn{
    border:2px solid #2e7d32;
    color:#2e7d32;
    padding:14px 28px;
    border-radius:40px;
    font-weight:600;
    transition:.3s;
}

.secondary-btn:hover{
    background:#2e7d32;
    color:#fff;
}

.hero-stats{
    display:flex;
    gap:25px;
    flex-wrap:wrap;
}

.hero-stats div{
    background:#fff;
    padding:20px;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    min-width:140px;
    text-align:center;
}

.hero-stats h2{
    color:#2e7d32;
    font-size:30px;
}

.hero-right img{
    width:100%;
    border-radius:25px;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}
/* ==========================
   QUICK DONATE
========================== */

.quick-donate{
    padding:90px 0;
    background:#ffffff;
}

.section-heading{
    text-align:center;
    margin-bottom:60px;
}

.section-heading h2{
    font-size:42px;
    color:#1b5e20;
    margin-bottom:15px;
}

.section-heading p{
    max-width:700px;
    margin:auto;
    color:#666;
    font-size:17px;
}




.donate-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-top: 40px;
}

.donate-content,
.qr-box,
.bank-box{
    flex: 1;
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.donate-content h3,
.qr-box h3,
.bank-box h3{
    color:#1b5e20;
    margin-bottom:18px;
    font-size:24px;
}

.donation-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin:20px 0;
}

.donation-btn{
    padding:15px;
    border:2px solid #2e7d32;
    border-radius:10px;
    background:#fff;
    cursor:pointer;
    font-weight:600;
}

.donation-btn:hover{
    background:#2e7d32;
    color:#fff;
}

.custom-amount input{
    width:100%;
    padding:12px;
    margin-top:10px;
    border:1px solid #ccc;
    border-radius:8px;
}

.primary-btn{
    display:block;
    margin-top:20px;
    padding:14px;
    background:#2e7d32;
    color:#fff;
    text-align:center;
    text-decoration:none;
    border-radius:30px;
    font-weight:bold;
}

.qr-box{
    text-align:center;
}

.qr-box img{
    width:220px;
    height:220px;
    object-fit:contain;
}

.bank-box p{
    margin:12px 0;
    line-height:1.7;
}

@media(max-width:992px){
    .donate-wrapper{
        flex-direction:column;
    }

    .donate-content,
    .qr-box,
    .bank-box{
        width:100%;
    }
}

.donate-content{
    order:1;
}
.qr-box{
    order:2;
    text-align: center;
}
.bank-box{
    order: 3;
    background:#fff;
    border-radius:20px;
    padding:35px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.donate-content h3,
.qr-box h3,
.bank-box h3{
    color:#1b5e20;
    margin-bottom:18px;
    font-size:24px;
}

.donate-content p,
.qr-box p,
.bank-box p{
    color:#666;
    margin-bottom:20px;
}

.quick-buttons{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin:25px 0;
}

.amount-btn{
    background:#f3f9f3;
    color:#2e7d32;
    padding:15px;
    text-align:center;
    border-radius:12px;
    font-weight:600;
    transition:.3s;
    border:2px solid transparent;
}

.amount-btn:hover{
    background:#2e7d32;
    color:#fff;
}

.qr-box{
    text-align:center;
}

.qr-box img{
    width:260px;
    height:260px;
    object-fit:contain;
    margin:auto;
}

.bank-box p{
    margin-bottom:18px;
    line-height:1.8;
}

.bank-box strong{
    color:#111;
}

/* ==========================
   TRUST SECTION
========================== */

.trust-section{
    padding:20px 0;
    background:#f5fbf5;
}

.trust-section .container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.trust-card{
    background:#fff;
    border-radius:20px;
    padding:40px 30px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}










.trust-card:hover{
    transform:translateY(-10px);
}

.trust-card i{
    font-size:55px;
    color:#2e7d32;
    margin-bottom:20px;
}

.trust-card h3{
    margin-bottom:15px;
    color:#1b5e20;
    font-size:24px;
}

.trust-card p{
    color:#666;
    font-size:16px;
}
/* ==========================
   OUR CAUSES
========================== */

.our-causes{
    padding:20px 0;
    background:#ffffff;
}

.causes-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.cause-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
    display:flex;
    flex-direction:column;
}

.cause-card:hover{
    transform:translateY(-10px);
}

.cause-card img{
    width:100%;
    height:230px;
    object-fit:cover;
}

.cause-card h3{
    padding:25px 25px 10px;
    color:#1b5e20;
    font-size:24px;
}

.cause-card p{
    padding:0 25px;
    color:#666;
    line-height:1.8;
    flex:1;
}

.cause-card .primary-btn{
    margin:25px;
    text-align:center;
}

/* ==========================
   IMPACT SECTION
========================== */

.impact-section{
    padding:20px 0;
    background:linear-gradient(135deg,#2e7d32,#1b5e20);
    color:#fff;
}

.impact-section .section-heading h2,
.impact-section .section-heading p{
    color:#fff;
}

.impact-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.impact-box{
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    border-radius:20px;
    padding:40px 20px;
    text-align:center;
    backdrop-filter:blur(8px);
    transition:.3s;
}

.impact-box:hover{
    transform:translateY(-8px);
    background:rgba(255,255,255,.18);
}

.impact-box h2{
    font-size:48px;
    margin-bottom:12px;
    color:#FFD54F;
}

.impact-box p{
    font-size:18px;
    color:#fff;
    font-weight:500;
}
/* ==========================
   GALLERY SECTION
========================== */

.gallery-section{
    padding:90px 0;
    background:#f8fbf8;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.gallery-item{
    overflow:hidden;
    border-radius:20px;
    background:#fff;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.35s;
}

.gallery-item:hover{
    transform:translateY(-8px);
}

.gallery-item img,
.gallery-item video{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
}

.gallery-btn{
    text-align:center;
    margin-top:45px;
}

/* ==========================
   CTA BANNER
========================== */

.cta-banner{
    padding:90px 0;
    background:linear-gradient(135deg,#2e7d32,#1b5e20);
    text-align:center;
    color:#fff;
}

.cta-banner h2{
    font-size:46px;
    margin-bottom:20px;
    font-weight:700;
}

.cta-banner p{
    font-size:19px;
    max-width:700px;
    margin:0 auto 35px;
    color:#f1f1f1;
}

.cta-banner .primary-btn{
    display:inline-block;
    font-size:18px;
    padding:16px 38px;
}

.cta-banner .primary-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 25px rgba(0,0,0,.2);
}

/* ==========================
   HOVER EFFECTS
========================== */

.gallery-item img,
.gallery-item video{
    transition:transform .4s ease;
}

.gallery-item:hover img,
.gallery-item:hover video{
    transform:scale(1.08);
}
/* ==========================
   VOLUNTEER SECTION
========================== */

.volunteer-section{
    padding:90px 0;
    background:#ffffff;
}

.volunteer-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.volunteer-left h2{
    font-size:42px;
    color:#1b5e20;
    margin-bottom:20px;
}

.volunteer-left p{
    color:#666;
    font-size:17px;
    margin-bottom:30px;
    line-height:1.8;
}

.volunteer-left ul{
    list-style:none;
}

.volunteer-left ul li{
    background:#f4faf4;
    margin-bottom:15px;
    padding:15px 20px;
    border-left:5px solid #2e7d32;
    border-radius:10px;
    font-weight:500;
}

.volunteer-right{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.volunteer-right input,
.volunteer-right textarea{
    width:100%;
    padding:15px;
    margin-bottom:18px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
    outline:none;
    transition:.3s;
    font-family:'Poppins',sans-serif;
}

.volunteer-right input:focus,
.volunteer-right textarea:focus{
    border-color:#2e7d32;
    box-shadow:0 0 8px rgba(46,125,50,.2);
}

.volunteer-right textarea{
    resize:vertical;
}

.volunteer-right button{
    width:100%;
    border:none;
    cursor:pointer;
    font-size:17px;
}

/* ==========================
   FOOTER
========================== */



footer{
    background:#1b5e20;
    color:#fff;
    padding:20px 0 20px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
}

.footer-logo{
    width:90px;
    margin-bottom:15px;
}

footer h3{
    color:#fff;
    margin-bottom:18px;
}

footer p,
footer li{
    color:#fff;
    line-height:1.8;
}

footer ul{
    list-style:none;
    padding:0;
}

footer ul li{
    margin-bottom:10px;
}

footer a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

footer a:hover{
    color:#FFD54F;
}

.social-icons{
    display:flex;
    gap:15px;
    margin-top:15px;
}

.social-icons a{
    width:45px;
    height:45px;
    border-radius:50%;
    background:#2e7d32;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:18px;
    transition:.3s;
}

.social-icons a:hover{
    background:#FFD54F;
    color:#1b5e20;
}

.copyright{
    border-top:1px solid rgba(255,255,255,.2);
    margin-top:40px;
    padding-top:20px;
    text-align:center;
    color:#fff;
}





/* ==========================
   RESPONSIVE DESIGN
========================== */

@media (max-width:1100px){

.hero-content,
.volunteer-wrapper,
.donate-wrapper{
grid-template-columns:1fr;
}

.footer-grid{
grid-template-columns:repeat(2,1fr);
}

.causes-grid{
grid-template-columns:repeat(2,1fr);
}

.impact-grid{
grid-template-columns:repeat(2,1fr);
}

.gallery-grid{
grid-template-columns:repeat(2,1fr);
}

.hero-left{
text-align:center;
}

.hero-buttons,
.hero-stats{
justify-content:center;
}

.hero-right img{
max-width:600px;
margin:auto;
}

}

@media (max-width:768px){

.container{
width:94%;
}

header{
position:relative;
}

.navbar{
flex-direction:column;
gap:20px;
padding:18px 0;
}

.logo{
flex-direction:column;
text-align:center;
}

.logo img{
width:75px;
}

nav ul{
flex-direction:column;
gap:15px;
text-align:center;
}

.donate-btn{
width:100%;
text-align:center;
}

.hero{
padding:60px 0;
}

.hero-content{
grid-template-columns:1fr;
gap:40px;
}

.hero-left h1{
font-size:36px;
}

.hero-left p{
font-size:16px;
}

.hero-buttons{
flex-direction:column;
}

.primary-btn,
.secondary-btn{
width:100%;
text-align:center;
}

.hero-stats{
flex-direction:column;
}

.hero-stats div{
width:100%;
}

.section-heading h2{
font-size:32px;
}

.section-heading p{
font-size:16px;
}

.quick-buttons{
grid-template-columns:1fr;
}

.causes-grid,
.impact-grid,
.gallery-grid,
.footer-grid{
grid-template-columns:1fr;
}

.gallery-item img,
.gallery-item video{
height:220px;
}

.cta-banner h2{
font-size:32px;
}

.cta-banner p{
font-size:16px;
}

.volunteer-left h2{
font-size:32px;
}

.volunteer-right{
padding:25px;
}

.footer{
text-align:center;
}

.footer-bottom-content{
flex-direction:column;
}

.footer-policy{
justify-content:center;
}

.social-icons{
justify-content:center;
}

.qr-box img{
width:220px;
height:220px;
}

}

@media (max-width:480px){

.hero-left h1{
font-size:30px;
}

.logo h2{
font-size:20px;
}

.hero{
padding:45px 0;
}

.section-heading h2{
font-size:28px;
}

.cta-banner h2{
font-size:28px;
}

.primary-btn,
.secondary-btn,
.donate-btn{
padding:14px 20px;
font-size:15px;
}

.qr-box img{
width:180px;
height:180px;
}

}

/* ==========================
   ANIMATIONS
========================== */

.primary-btn,
.secondary-btn,
.donate-btn,
.amount-btn,
.cause-card,
.trust-card,
.impact-box,
.gallery-item,
.social-icons a{
transition:.35s ease;
}

.primary-btn:hover,
.secondary-btn:hover,
.donate-btn:hover{
transform:translateY(-3px);
}

.cause-card:hover,
.trust-card:hover,
.gallery-item:hover,
.impact-box:hover{
box-shadow:0 15px 35px rgba(0,0,0,.15);
}
/* ==========================
   DONATION SELECTOR
========================== */

.donation-selector{
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    max-width:700px;
    margin:40px auto 0;
}

.donation-selector h3{
    text-align:center;
    font-size:28px;
    color:#1b5e20;
    margin-bottom:30px;
}

.donation-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    margin-bottom:25px;
}

.donation-btn{
    padding:15px;
    border:2px solid #2e7d32;
    background:#fff;
    color:#2e7d32;
    border-radius:12px;
    font-size:17px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.donation-btn:hover,
.donation-btn.active{
    background:#2e7d32;
    color:#fff;
}

.custom-amount{
    margin:25px 0;
}

.custom-amount label{
    display:block;
    margin-bottom:10px;
    font-weight:600;
    color:#333;
}

.custom-amount input{
    width:100%;
    padding:15px;
    border:2px solid #ddd;
    border-radius:12px;
    font-size:17px;
    outline:none;
}

.custom-amount input:focus{
    border-color:#2e7d32;
}

#donateNowBtn{
    display:block;
    width:100%;
    text-align:center;
    margin-top:20px;
}

@media(max-width:768px){

.donation-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:480px){

.donation-grid{
grid-template-columns:1fr;
}

}
section{
    padding: 80px 8%;
}

.container{
    max-width: 1200px;
    margin: auto;
}




.about{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;
    flex-wrap:wrap;
}

.about img{
    
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius:15px;
    display: block;
    margin: auto;
    flex-shrink: 0;
}

.about-content{
    flex:1;
}








.about-content h2{
    font-size:38px;
    margin-bottom:20px;
    color:#2d6a4f;
}

.about-content p{
    line-height:1.8;
    color:#555;
}
.work-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-top:40px;
}

.work-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.work-card:hover{
    transform:translateY(-8px);
}

.work-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.work-card h3{
    padding:20px 20px 10px;
}

.work-card p{
    padding:0 20px 20px;
    line-height:1.7;
}
.quick-buttons{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    margin-top:30px;
}

.amount-btn{
    padding:15px;
    border:none;
    border-radius:10px;
    background:#f2f2f2;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

.amount-btn:hover{
    background:#2d6a4f;
    color:#fff;
}
.contact-wrapper{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:40px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:15px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:16px;
}

.contact-form button{
    background:#2d6a4f;
    color:#fff;
    padding:14px 35px;
    border:none;
    border-radius:8px;
    cursor:pointer;
}
@media(max-width:768px){

.about{
    flex-direction:column;
}

.quick-buttons{
    grid-template-columns:repeat(2,1fr);
}

.section-heading h2{
    font-size:30px;
}

}


/* ==========================
   CONTACT PAGE
========================== */

.page-banner{
    background:linear-gradient(135deg,#2e7d32,#1b5e20);
    color:#fff;
    text-align:center;
    padding:80px 20px;
}

.page-banner h1{
    font-size:48px;
    margin-bottom:15px;
}

.page-banner p{
    font-size:18px;
}

.contact-section{
    padding:90px 0;
    background:#f8fbf8;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.contact-info,
.contact-form{
    background:#fff;
    padding:20px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.contact-info h2,
.contact-form h2{
    color:#1b5e20;
    margin-bottom:25px;
}

.contact-info p{
    margin-bottom:18px;
    font-size:17px;
    color:#555;
    line-height:1.8;
}

.contact-info h3{
    margin-top:30px;
    margin-bottom:15px;
    color:#1b5e20;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:15px;
    margin-bottom:18px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
    outline:none;
    font-family:'Poppins',sans-serif;
    transition:.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:#2e7d32;
    box-shadow:0 0 8px rgba(46,125,50,.2);
}

.contact-form textarea{
    resize:vertical;
}

.contact-form button{
    width:100%;
    background:#2e7d32;
    color:#fff;
    padding:16px;
    border:none;
    border-radius:10px;
    font-size:17px;
    cursor:pointer;
    transition:.3s;
}

.contact-form button:hover{
    background:#1b5e20;
}

@media(max-width:768px){

.contact-grid{
    grid-template-columns:1fr;
}

.page-banner h1{
    font-size:34px;
}

.contact-info,
.contact-form{
    padding:25px;
}

}
/* DONATE PAGE */

.donate-section{
    padding:90px 0;
    background:#f8fbf8;
}

.donate-heading{
    text-align:center;
    max-width:750px;
    margin:0 auto 50px;
}

.donate-heading h1{
    font-size:42px;
    color:#1b5e20;
    margin-bottom:15px;
}

.donate-heading p{
    color:#666;
    line-height:1.8;
}

.donate-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.qr-box,
.bank-box{
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    text-align:center;
}

.qr-box img{
    width:260px;
    margin:auto;
}

.bank-box p{
    margin:15px 0;
}

@media(max-width:768px){
    .donate-container{
        grid-template-columns:1fr;
    }
}
.story-wrapper{
    display: flex;
    align-items: center;
    gap: 50px;
}

.story-image{
    flex: 0 0 35%;
}

.story-image img{
    width: 100%;
    max-width: 380px;   /* image chhoti ho jayegi */
    height: 280px;      /* professional height */
    object-fit: cover;
    border-radius: 15px;
    display: block;
    margin: auto;
}

.story-content{
    flex: 1;
}