@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f7f9fc;
    overflow-x:hidden;
    color:#222;
}

/* ================= NAVBAR ================= */

header{
    position:fixed;
    top:0;
    width:100%;
    z-index:1000;
    background:rgba(255,255,255,0.92);
    backdrop-filter:blur(12px);
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.navbar{
    width:90%;
    max-width:1400px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    font-size:34px;
    font-weight:800;
    color:#0d47A1;
}

.logo span{
    color:#2EAF4A;
}

nav ul{
    display:flex;
    gap:35px;
    list-style:none;
}

nav ul li a{
    text-decoration:none;
    color:#222;
    font-weight:600;
    transition:0.3s;
    position:relative;
}

nav ul li a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:3px;
    background:#17b978;
    transition:0.3s;
}

nav ul li a:hover::after{
    width:100%;
}

nav ul li a:hover{
    color:#17b978;
}

.donate-btn{
    background:linear-gradient(135deg,#17b978,#0f9d66);
    color:white;
    padding:14px 28px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.donate-btn:hover{
    transform:translateY(-4px);
}

/* ================= HERO ================= */

.hero{
    margin-top: 10vh;
    width:100%;
    min-height:100vh;
    background:
    linear-gradient(rgba(0,0,0,0.45),rgba(0,0,0,0.45)),
    url('Image/Banner2.jpeg');
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    position:relative;
}

.hero-content{
    width:90%;
    max-width:1400px;
    margin:auto;
    color:white;
}

.hero-content h1{
    font-size:45px;
    line-height:1.1;
    margin-bottom:20px;
    font-weight:800;
}

.hero-content h1 span{
    color:#ffbf00;
}

.hero-content p{
    max-width:700px;
    font-size:20px;
    line-height:1.8;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn{
    padding:16px 34px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    transition:0.4s;
}

.btn-primary{
    background:#17b978;
    color:white;
}

.btn-primary:hover{
    transform:translateY(-5px);
}

.btn-secondary{
    background:white;
    color:#222;
}

/* ================= FLOATING FEATURE BAR ================= */

.feature-bar{
    width:90%;
    max-width:1300px;
    margin:auto;
    background:white;
    margin-top:-80px;
    border-radius:30px;
    box-shadow:0 20px 40px rgba(0,0,0,0.1);
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    overflow:hidden;
    position:relative;
    z-index:10;
}

.feature-item{
    padding:35px 20px;
    text-align:center;
    transition:0.4s;
    border-right:1px solid #eee;
}

.feature-item:hover{
    background:#f8fbff;
    transform:translateY(-8px);
}

.feature-icon{
    width:80px;
    height:80px;
    margin:auto;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    color:white;
    margin-bottom:18px;
}

.bg1{background:linear-gradient(135deg,#00b09b,#96c93d);} 
.bg2{background:linear-gradient(135deg,#396afc,#2948ff);} 
.bg3{background:linear-gradient(135deg,#ff512f,#dd2476);} 
.bg4{background:linear-gradient(135deg,#8e2de2,#4a00e0);} 
.bg5{background:linear-gradient(135deg,#17b978,#0f9d66);} 
.bg6{background:linear-gradient(135deg,#ff9966,#ff5e62);} 

.feature-item h3{
    font-size:20px;
    margin-bottom:10px;
}

.feature-item p{
    color:#666;
    font-size:14px;
}

/* ================= COMMON ================= */

section{
    padding:100px 8%;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:48px;
    color:#0b2545;
    margin-bottom:15px;
}

.section-title p{
    max-width:700px;
    margin:auto;
    color:#666;
}

/* ================= ABOUT ================= */

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about-image img{
    width:70%;
    border-radius:10px;
    box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.about-content h3{
    font-size:42px;
    color:#0b2545;
    margin-bottom:25px;
}

.about-content p{
    margin-bottom:20px;
    line-height:1.9;
    color:#555;
}

.about-points div{
    margin-bottom:15px;
    font-weight:500;
}

/* ================= CARDS ================= */

.services{
    background:#eef5ff;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.card{
    background:white;
    border-radius:30px;
    padding:35px 30px;
    transition:0.4s;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.card:hover{
    transform:translateY(-12px);
}

.card-icon{
    width:80px;
    height:80px;
    border-radius:20px;
    display:flex;
    justify-content:center;
    align-items:center;
    color:white;
    font-size:36px;
    margin-bottom:25px;
}

.card h3{
    font-size:25px;
    margin-bottom:15px;
    color:#0b2545;
}

.card p{
    color:#666;
    line-height:1.8;
}

/* ================= IMPACT ================= */

.impact{
    background:
    linear-gradient(rgba(10,25,47,0.92),rgba(10,25,47,0.92)),
    url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?q=80&w=1600&auto=format&fit=crop');
    background-size:cover;
    background-position:center;
    color:white;
}

.impact-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

.impact-box{
    background:rgba(255,255,255,0.08);
    padding:40px 20px;
    text-align:center;
    border-radius:25px;
    backdrop-filter:blur(5px);
}

.impact-box h3{
    font-size:54px;
    color:#ffbf00;
}

/* ================= CONTACT ================= */

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.contact-info{
    background:#0b2545;
    color:white;
    padding:50px;
    border-radius:30px;
}

.contact-info h3{
    font-size:34px;
    margin-bottom:25px;
}

.contact-info p{
    margin-bottom:20px;
}

.contact-form{
    background:white;
    padding:50px;
    border-radius:30px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.contact-form form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea{
    padding:16px;
    border:1px solid #ddd;
    border-radius:12px;
    font-family:'Poppins',sans-serif;
}

.contact-form textarea{
    min-height:140px;
    resize:none;
}

.contact-form button{
    padding:16px;
    border:none;
    background:#17b978;
    color:white;
    border-radius:12px;
    font-weight:600;
    cursor:pointer;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

.contact-info, .contact-form {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-info h3,
.contact-form h3 {
  margin-bottom: 15px;
  color: #222;
}

.contact-info p {
  margin-bottom: 12px;
  color: #555;
  line-height: 1.6;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.contact-form button {
  background: #4ade80;
  color: #000;
  padding: 12px;
  border: none;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.contact-form button:hover {
  background: #22c55e;
}

/* ==========================================
   NGO OBJECTIVES SECTION
========================================== */

.ngo-objectives{
    background:#f7f9fc;
}

.objective-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-top:50px;
}

.objective-card{
    border-radius:25px;
    padding:35px 30px;
    color:#fff;
    transition:0.4s;
    box-shadow:0 15px 35px rgba(0,0,0,0.12);
}

.objective-card:hover{
    transform:translateY(-12px);
    box-shadow:0 25px 45px rgba(0,0,0,0.18);
}

.objective-card .icon{
    font-size:55px;
    margin-bottom:20px;
}

.objective-card h3{
    margin-bottom:15px;
    font-size:24px;
    font-weight:700;
}

.objective-card p{
    line-height:1.8;
    color:rgba(255,255,255,0.95);
}

/* Colorful NGO Cards */

.education{
    background:linear-gradient(135deg,#00b09b,#96c93d);
}

.digital{
    background:linear-gradient(135deg,#396afc,#2948ff);
}

.skill{
    background:linear-gradient(135deg,#ff512f,#dd2476);
}

.child{
    background:linear-gradient(135deg,#ff9966,#ff5e62);
}

.health{
    background:linear-gradient(135deg,#00c6ff,#0072ff);
}

.environment{
    background:linear-gradient(135deg,#11998e,#38ef7d);
}

.culture{
    background:linear-gradient(135deg,#8e2de2,#4a00e0);
}

.rural{
    background:linear-gradient(135deg,#f7971e,#ffd200);
    color:#222;
}

.rural p{
    color:#222;
}

.leadership{
    background:linear-gradient(135deg,#fc466b,#3f5efb);
}

.partnership{
    background:linear-gradient(135deg,#141e30,#243b55);
}
/* ==========================================
   WHY CHOOSE US
========================================== */

.why-us{
    background:#f8fbff;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.why-card{
    position:relative;
    padding:40px 30px;
    border-radius:25px;
    overflow:hidden;
    color:white;
    transition:.4s;
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.why-card:hover{
    transform:translateY(-12px);
    box-shadow:0 25px 45px rgba(0,0,0,.18);
}

.why-icon{
    font-size:60px;
    margin-bottom:20px;
}

.why-card h3{
    font-size:28px;
    margin-bottom:15px;
}

.why-card p{
    line-height:1.8;
    font-size:15px;
}

.why-number{
    position:absolute;
    right:20px;
    bottom:10px;
    font-size:70px;
    font-weight:800;
    opacity:.15;
}

/* Card Colors */

.why1{
    background:linear-gradient(135deg,#11998e,#38ef7d);
}

.why2{
    background:linear-gradient(135deg,#396afc,#2948ff);
}

.why3{
    background:linear-gradient(135deg,#ff512f,#dd2476);
}

.why4{
    background:linear-gradient(135deg,#8e2de2,#4a00e0);
}
/* ==========================================
   FOUNDER SECTION
========================================== */

.founder-section{
    padding:100px 8%;
    background:#fff;
}

.founder-container{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:70px;
    align-items:center;
}

.founder-image{
    position:relative;
}

.founder-image img{
    width:100%;
    border-radius:25px;
    box-shadow:0 20px 50px rgba(0,0,0,.15);
}

.founder-badge{
    position:absolute;
    bottom:20px;
    left:20px;
    background:#17b978;
    color:white;
    padding:12px 20px;
    border-radius:50px;
    font-weight:600;
}

.founder-tag{
    color:#17b978;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
}

.founder-content h2{
    font-size:30px !important;
    color:#0b2545;
    margin:15px 0 25px;
    line-height:1.2;
}

.quote{
    font-size:22px;
    color:#0c5adb;
    font-style:italic;
    margin-bottom:25px;
    border-left:4px solid #17b978;
    padding-left:20px;
}

.founder-content p{
    line-height:1.9;
    color:#555;
    margin-bottom:20px;
    text-align: justify;
}

.founder-highlights{
    display:flex;
    gap:25px;
    margin-top:35px;
}

.highlight{
    background:#f7f9fc;
    padding:20px;
    border-radius:20px;
    text-align:center;
    min-width:120px;
}

.highlight h3{
    color:#17b978;
    font-size:32px;
}

.highlight span{
    font-size:14px;
    color:#666;
}

.founder-sign{
    margin-top:35px;
}

.founder-sign h4{
    color:#0b2545;
    font-size:24px;
}

.founder-sign p{
    margin-top:5px;
    color:#17b978;
    font-weight:600;
}

@media(max-width:992px){

    .founder-container{
        grid-template-columns:1fr;
    }

    .founder-content h2{
        font-size:38px;
    }

    .founder-highlights{
        flex-wrap:wrap;
    }
    /* ==========================================
   Service
========================================== */
}

.services-page{
    background:#f8fbff;
}

.section-tag{
    color:#17b978;
    font-weight:700;
    letter-spacing:2px;
}

.program-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.program-card{
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.4s;
}

.program-card:hover{
    transform:translateY(-10px);
}

.program-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.program-content{
    padding:30px;
}

.program-icon{
    width:70px;
    height:70px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:30px;
    margin-bottom:20px;
}

.program-content h3{
    font-size:26px;
    color:#0b2545;
    margin-bottom:15px;
}

.program-content p{
    color:#666;
    line-height:1.8;
}

.program-btn{
    display:inline-block;
    margin-top:20px;
    color:#17b978;
    text-decoration:none;
    font-weight:600;
}

/* ==========================================
   IMPACT GALLERY
========================================== */

.impact-gallery{
    background:#fff;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:25px;
}

.gallery-card{
    position:relative;
    overflow:hidden;
    border-radius:25px;
    height:300px;
    box-shadow:0 15px 35px rgba(0,0,0,.1);
}

.gallery-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s;
}

.gallery-card:hover img{
    transform:scale(1.1);
}

.gallery-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        rgba(0,0,0,0.1),
        rgba(0,0,0,0.8)
    );
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:25px;
    color:white;
}

.gallery-overlay h3{
    font-size:24px;
    margin-bottom:8px;
}

.gallery-overlay p{
    font-size:14px;
    opacity:.9;
}
footer{
    background:#071426;
    color:white;
    text-align:center;
    padding:30px;
}

@media(max-width:992px){

.hero-content h1{
    font-size:52px;
}

.about-grid,
.contact-grid{
    grid-template-columns:1fr;
}

}

@media(max-width:768px){

.navbar{
    flex-direction:column;
    gap:15px;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
    gap:18px;
}

.hero-content h1{
    font-size:40px;
}

.section-title h2{
    font-size:34px;
}

}

@media(max-width:450px){
    .hero{
        margin-top: 40vh;
    }
    .logo{
        font-size:19px;
    }

}