/*======================================
  NGO WEBSITE - PREMIUM STYLE.CSS
======================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#f8f9fa;
    color:#333;
    line-height:1.7;
    overflow-x:hidden;
}

/* Scrollbar */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:#16a34a;
    border-radius:30px;
}

::-webkit-scrollbar-track{
    background:#eee;
}

/* Container */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* Links */

a{
    text-decoration:none;
}

img{
    max-width:100%;
    display:block;
}

/* Header */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#fff;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    z-index:999;
}

.navbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:80px;

}

.logo{

    font-size:30px;

    font-weight:bold;

    color:#16a34a;

}

.logo span{

    color:#ff9800;

}

nav ul{

    display:flex;

    list-style:none;

}

nav ul li{

    margin-left:30px;

}

nav ul li a{

    color:#333;

    font-weight:600;

    position:relative;

    transition:.3s;

}

nav ul li a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:3px;

    background:#16a34a;

    transition:.3s;

}

nav ul li a:hover::after,

nav ul li a.active::after{

    width:100%;

}

nav ul li a:hover{

    color:#16a34a;

}

/* Hero */

.hero{

    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    color:#fff;

    padding-top:80px;

    background:

    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),

    url("https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=1600&q=80");

    background-size:cover;

    background-position:center;

}

.hero h1{

    font-size:65px;

    margin-bottom:20px;

}

.hero p{

    max-width:800px;

    margin:auto;

    font-size:21px;

}

.btn{

    display:inline-block;

    margin-top:35px;

    background:#16a34a;

    color:#fff;

    padding:16px 40px;

    border-radius:50px;

    transition:.3s;

    font-weight:bold;

}

.btn:hover{

    background:#0f8d3b;

    transform:translateY(-4px);

}

/* Section */

section{

    padding:90px 0;

}

.section-title{

    text-align:center;

    color:#16a34a;

    font-size:42px;

    margin-bottom:60px;

    position:relative;

}

.section-title::after{

    content:"";

    width:90px;

    height:4px;

    background:#ff9800;

    position:absolute;

    left:50%;

    bottom:-15px;

    transform:translateX(-50%);

    border-radius:20px;

}

/*======================================
  ABOUT SECTION
======================================*/

.about{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.about img{

    width:100%;

    border-radius:20px;

    box-shadow:0 20px 45px rgba(0,0,0,.15);

    transition:.4s;

}

.about img:hover{

    transform:scale(1.03);

}

.about h2{

    color:#16a34a;

    font-size:40px;

    margin-bottom:20px;

}

.about p{

    margin-bottom:18px;

    color:#555;

    font-size:17px;

}

/*======================================
  CARD DESIGN
======================================*/

.grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.4s;

}

.card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 50px rgba(0,0,0,.15);

}

.card img{

    width:100%;

    height:230px;

    object-fit:cover;

    transition:.4s;

}

.card:hover img{

    transform:scale(1.08);

}

.card-content{

    padding:25px;

}

.card-content h3{

    color:#16a34a;

    margin-bottom:15px;

    font-size:24px;

}

.card-content p{

    color:#666;

    margin-bottom:20px;

}

/*======================================
  PROGRAM SECTION
======================================*/

.program-box{

    text-align:center;

    padding:30px;

}

.program-box i{

    width:80px;

    height:80px;

    background:#16a34a;

    color:#fff;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:auto;

    font-size:32px;

    margin-bottom:20px;

}

.program-box h3{

    color:#16a34a;

    margin-bottom:15px;

}

/*======================================
  STATISTICS
======================================*/

.stats{

    background:#16a34a;

    color:#fff;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

}

.stat{

    text-align:center;

}

.stat h2{

    font-size:50px;

    margin-bottom:10px;

}

.stat p{

    font-size:18px;

}

/*======================================
  GALLERY
======================================*/

.gallery{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:20px;

}

.gallery img{

    width:100%;

    height:250px;

    object-fit:cover;

    border-radius:15px;

    transition:.4s;

    cursor:pointer;

}

.gallery img:hover{

    transform:scale(1.06);

    box-shadow:0 20px 40px rgba(0,0,0,.18);

}

/*======================================
  DONATE SECTION
======================================*/

.donate-box{

    background:linear-gradient(135deg,#16a34a,#22c55e);

    color:#fff;

    text-align:center;

    padding:60px;

    border-radius:20px;

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.donate-box h2{

    font-size:42px;

    margin-bottom:20px;

}

.donate-box p{

    max-width:750px;

    margin:auto;

    margin-bottom:30px;

    font-size:18px;

}

/*======================================
  CONTACT PAGE
======================================*/

.contact-hero{
    padding:120px 20px 80px;
    background:linear-gradient(135deg,#16a34a,#22c55e);
    color:#fff;
    text-align:center;
}

.contact-hero h1{
    font-size:55px;
    margin-bottom:15px;
}

.contact-hero p{
    max-width:700px;
    margin:auto;
    font-size:18px;
}

.contact-info-section{
    padding:80px 0;
}

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

.info-card{
    background:#fff;
    padding:35px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.35s;
}

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

.info-card i{
    width:80px;
    height:80px;
    background:#16a34a;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 20px;
    font-size:30px;
}

.info-card h3{
    color:#16a34a;
    margin-bottom:15px;
}

.info-card p{
    color:#666;
}

/* Contact Form */

.contact-form-section{
    background:#f4f7f8;
}

.contact-wrapper{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:35px;
}

.contact-left{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.contact-left h2{
    color:#16a34a;
    margin-bottom:15px;
}

.contact-left p{
    margin-bottom:30px;
    color:#666;
}

.form-row{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-bottom:20px;
}

.input-box{
    display:flex;
    flex-direction:column;
}

.input-box label{
    margin-bottom:8px;
    font-weight:600;
    color:#333;
}

.input-box input,
.input-box textarea{
    padding:15px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:16px;
    transition:.3s;
}

.input-box input:focus,
.input-box textarea:focus{
    border-color:#16a34a;
    box-shadow:0 0 8px rgba(22,163,74,.25);
    outline:none;
}

.input-box textarea{
    min-height:180px;
    resize:vertical;
}

.send-btn{
    background:#16a34a;
    color:#fff;
    border:none;
    padding:16px 35px;
    border-radius:50px;
    font-size:17px;
    cursor:pointer;
    transition:.3s;
}

.send-btn:hover{
    background:#0d8b37;
    transform:translateY(-3px);
}

/* Right Side */

.contact-right{
    display:flex;
}

.help-box{
    width:100%;
    background:linear-gradient(135deg,#16a34a,#22c55e);
    color:#fff;
    border-radius:20px;
    padding:40px;
    box-shadow:0 15px 35px rgba(0,0,0,.10);
}

.help-box i{
    font-size:55px;
    margin-bottom:20px;
}

.help-box h2{
    margin-bottom:15px;
}

.help-box p{
    margin-bottom:15px;
}

.help-box hr{
    border:none;
    border-top:1px solid rgba(255,255,255,.35);
    margin:20px 0;
}

/* Google Map */

.map-box{
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.map-box iframe{
    width:100%;
    height:450px;
    border:0;
}

/* Office Hours */

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

.office-card{
    background:#fff;
    padding:30px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.office-card h3{
    color:#16a34a;
    margin-bottom:12px;
}

/* FAQ */

.faq-box{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.faq-box h3{
    color:#16a34a;
    margin-bottom:10px;
}

.faq-box hr{
    margin:25px 0;
    border:none;
    border-top:1px solid #eee;
}

/* Social */

.social-icons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
}

.social-icons a{
    width:60px;
    height:60px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#16a34a;
    color:#fff;
    border-radius:50%;
    font-size:24px;
    transition:.3s;
}

.social-icons a:hover{
    transform:translateY(-6px);
    background:#0d8b37;
}

/* Responsive */

@media(max-width:992px){

.contact-wrapper{
    grid-template-columns:1fr;
}

}

@media(max-width:768px){

.form-row{
    grid-template-columns:1fr;
}

.contact-left,
.help-box{
    padding:25px;
}

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

}

/*======================================
  VOLUNTEER CTA
======================================*/

.volunteer-section{
    background:linear-gradient(135deg,#16a34a,#22c55e);
    padding:90px 0;
}

.volunteer-box{
    max-width:900px;
    margin:auto;
    text-align:center;
    color:#fff;
}

.volunteer-box h2{
    font-size:46px;
    margin-bottom:20px;
}

.volunteer-box p{
    font-size:18px;
    line-height:1.8;
    margin-bottom:35px;
}

.volunteer-box .btn{
    margin:10px;
}

.btn-outline{
    display:inline-block;
    padding:16px 40px;
    border:2px solid #fff;
    color:#fff;
    border-radius:50px;
    transition:.3s;
}

.btn-outline:hover{
    background:#fff;
    color:#16a34a;
}

/*======================================
  NEWSLETTER
======================================*/

.newsletter{
    background:#f8f9fa;
    text-align:center;
    padding:90px 0;
}

.newsletter h2{
    color:#16a34a;
    font-size:42px;
    margin-bottom:15px;
}

.newsletter p{
    color:#666;
    margin-bottom:35px;
}

.newsletter-form{
    max-width:700px;
    margin:auto;
    display:flex;
    overflow:hidden;
    border-radius:60px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.newsletter-form input{
    flex:1;
    border:none;
    padding:18px 25px;
    font-size:16px;
    outline:none;
}

.newsletter-form button{
    border:none;
    background:#16a34a;
    color:#fff;
    padding:0 35px;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
}

.newsletter-form button:hover{
    background:#0d8b37;
}

/*======================================
  FOOTER
======================================*/

.footer{
    background:#111;
    color:#ddd;
    padding:70px 0 25px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:35px;
}

.footer h3{
    color:#fff;
    margin-bottom:20px;
    position:relative;
}

.footer h3::after{
    content:"";
    width:50px;
    height:3px;
    background:#16a34a;
    display:block;
    margin-top:10px;
}

.footer p{
    line-height:1.8;
    color:#bbb;
}

.footer ul{
    list-style:none;
}

.footer ul li{
    margin-bottom:12px;
}

.footer ul li a{
    color:#bbb;
    transition:.3s;
}

.footer ul li a:hover{
    color:#16a34a;
    padding-left:6px;
}

.footer-social{
    display:flex;
    gap:12px;
    margin-top:20px;
}

.footer-social a{
    width:45px;
    height:45px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#222;
    color:#fff;
    border-radius:50%;
    transition:.3s;
}

.footer-social a:hover{
    background:#16a34a;
    transform:translateY(-5px);
}

.footer hr{
    margin:40px 0 20px;
    border:none;
    border-top:1px solid #333;
}

.copyright{
    text-align:center;
    color:#888;
    font-size:15px;
}

/*======================================
  GLOBAL ANIMATION
======================================*/

.card,
.info-card,
.office-card,
.help-box,
.contact-left,
.gallery img,
.footer-social a,
.btn,
.btn-outline{
    transition:all .35s ease;
}

/*======================================
  RESPONSIVE
======================================*/

@media(max-width:992px){

.about{
    grid-template-columns:1fr;
}

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

.newsletter-form{
    flex-direction:column;
    border-radius:20px;
}

.newsletter-form input{
    width:100%;
}

.newsletter-form button{
    width:100%;
    padding:18px;
}

}

@media(max-width:768px){

.navbar{
    flex-direction:column;
    height:auto;
    padding:20px 0;
}

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

nav ul li{
    margin:10px;
}

.hero{
    height:80vh;
}

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

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

.section-title{
    font-size:32px;
}

.volunteer-box h2{
    font-size:34px;
}

.newsletter h2{
    font-size:32px;
}

.footer{
    text-align:center;
}

.footer-social{
    justify-content:center;
}

}

/*======================================
  PART 5 - FINAL EFFECTS & UTILITIES
======================================*/

/* Text Selection */

::selection{
    background:#16a34a;
    color:#fff;
}

/* Focus */

input:focus,
textarea:focus,
button:focus{
    outline:none;
}

/* Smooth Hover */

a,
button,
input,
textarea,
.card,
.info-card,
.office-card,
.gallery img,
.footer-social a,
.social-icons a{
    transition:all .3s ease;
}

/* Image Hover */

.card{
    overflow:hidden;
}

.card img{
    transition:transform .5s ease;
}

.card:hover img{
    transform:scale(1.08);
}

.gallery{
    overflow:hidden;
}

.gallery img:hover{
    transform:scale(1.08) rotate(1deg);
}

/* Shadow Hover */

.card:hover,
.info-card:hover,
.office-card:hover,
.contact-left:hover,
.help-box:hover{
    box-shadow:0 20px 50px rgba(0,0,0,.15);
}

/* Buttons */

.btn,
.send-btn,
.newsletter-form button{
    position:relative;
    overflow:hidden;
}

.btn::before,
.send-btn::before,
.newsletter-form button::before{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:100%;

    background:rgba(255,255,255,.2);

    transition:.5s;

}

.btn:hover::before,
.send-btn:hover::before,
.newsletter-form button:hover::before{

    left:100%;

}

/* Tables */

table{
    width:100%;
    border-collapse:collapse;
}

table th{

    background:#16a34a;

    color:#fff;

    padding:15px;

}

table td{

    padding:15px;

    border:1px solid #eee;

}

/* List */

ul{
    padding-left:20px;
}

li{
    margin-bottom:8px;
}

/* Form Placeholder */

input::placeholder,
textarea::placeholder{
    color:#999;
}

/* Horizontal Rule */

hr{
    border:none;
    border-top:1px solid #ddd;
}

/* Utilities */

.text-center{
    text-align:center;
}

.text-left{
    text-align:left;
}

.text-right{
    text-align:right;
}

.mt-1{margin-top:10px;}
.mt-2{margin-top:20px;}
.mt-3{margin-top:30px;}
.mt-4{margin-top:40px;}
.mt-5{margin-top:50px;}

.mb-1{margin-bottom:10px;}
.mb-2{margin-bottom:20px;}
.mb-3{margin-bottom:30px;}
.mb-4{margin-bottom:40px;}
.mb-5{margin-bottom:50px;}

.py-5{
    padding:80px 0;
}

.rounded{
    border-radius:15px;
}

.shadow{
    box-shadow:0 10px 30px rgba(0,0,0,.10);
}

/* Loading Animation */

.fade-up{
    animation:fadeUp .8s ease;
}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* Floating Animation */

.float{

    animation:floating 3s ease-in-out infinite;

}

@keyframes floating{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-10px);

}

100%{

transform:translateY(0);

}

}

/* Responsive */

@media(max-width:576px){

.container{

width:94%;

}

.hero h1{

font-size:28px;

}

.hero p{

font-size:16px;

}

.btn,
.send-btn{

width:100%;

text-align:center;

}

.info-card,
.office-card,
.card{

padding:20px;

}

.contact-left{

padding:20px;

}

.help-box{

padding:25px;

}

.footer-grid{

grid-template-columns:1fr;

text-align:center;

}

.footer-social{

justify-content:center;

}

}

/*======================================
  END OF STYLE.CSS
======================================*/