/*
Theme Name: NGO Abhiyaan
Theme URI:  
Author:      Rajnish Kumar
Description: Develope By https://resulttime.in
Version:     4.0
License:     GNU General Public License v2 or later
Text Domain: https://resulttime.in
*/

body{
  margin:0;
  font-family:Arial, sans-serif;
  background:#f8efe6;
}

.container{
  width:95%;
  margin:auto;
}

/* ================= HERO ================= */
.hero{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:20px 60px;

  height:60vh;
  min-height:320px;

  background:url('images/hero.jpg');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(200,0,80,0.6), transparent);
}

.hero-text{
  position:relative;
  z-index:2;
  max-width:700px;
  color:#fff;
}

.hero-text h1{
  font-size:70px;
  font-weight:900;
  margin-bottom:5px;
}

.hero-text h2{
  font-size:26px;
  font-weight:800;
}

.hero-text p{
  font-size:16px;
  margin-bottom:10px;
}

/* ================= BUTTONS ================= */
.hero-buttons{
  position:relative;
  z-index:2;
  text-align:center;
  margin-top:10px;
}

.btn-row{
  display:flex;
  justify-content:center;
  gap:12px;
}

.btn{
  border:none;
  border-radius:12px;
  cursor:pointer;
  font-weight:600;
  padding:14px 26px;
  font-size:15px;
  transition:0.3s;
}

.btn-orange{ background:#ff6b3d; color:#fff; }
.btn-green{ background:#6aa84f; color:#fff; }
.btn-light{ background:#eee; color:#000; }

.full-btn{
  display:block;
  margin:6px auto 0;
}

.btn:hover{
  background:linear-gradient(45deg,#007bff,#00c6ff);
  color:#fff;
  transform:translateY(-3px);
}

/* ================= CARDS ================= */
.cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  padding:20px;
}

/* Tablet */
@media(max-width:992px){
  .cards{
    grid-template-columns:repeat(2,1fr);
  }
}

/* Mobile */
@media(max-width:600px){
  .cards{
    grid-template-columns:repeat(2,1fr);
  }
}

/* CARD */
.card{
  border-radius:20px;
  overflow:hidden;
}

/* IMAGE */
.card-img{
  position:relative;
}

.card-img img{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
  transition:0.3s;
}

/* ================= CONTENT ON IMAGE ================= */
.card-content{
  position:absolute;
  inset:0;

  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:center;

  padding:15px;
  text-align:center;

  background:linear-gradient(to top, rgba(200,0,80,0.85), transparent);
  color:#fff;
}

/* TEXT */
.card-content h3{
  font-size:20px;
  font-weight:700;
  margin:0;
}

.card-content p{
  font-size:13px;
  margin:4px 0 10px;
}

/* ================= BUTTON (FINAL FIX) ================= */
.card-content .btn{
  display:inline-block;
  width:auto;

  padding:10px 22px;
  min-width:110px;

  border-radius:12px;
  border:2px solid #007bff;

  background:#fff;
  color:#000;

  text-align:center;
  text-decoration:none;
}

.card-content .btn:hover{
  background:#007bff;
  color:#fff;
}

/* IMAGE HOVER */
.card:hover img{
  transform:scale(1.05);
}

/* ================= DONATE ================= */
/* ================= DONATE BANNER ================= */
.donate-section{
  padding:40px 20px;
  background:linear-gradient(90deg,#fff3e6,#ffe0cc);
}

.donate-content{
  max-width:1100px;
  margin:auto;
  display:flex;
 
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}
/* LEFT TEXT */ 
.donate-text{ 
    flex:1; 
    min-width:280px; 
}

.donate-text h2{
  font-size:32px;
  margin-bottom:10px;
  color:#333;
}

.donate-text p{
  font-size:16px;
  margin-bottom:15px;
  color:#555;
}

/* BUTTON FIX (existing theme use) */
.donate-text .btn{
  margin-top:10px;
}

/* RIGHT IMAGE */
.donate-img{
  flex:1;
  min-width:280px;
  text-align:right;
}

.donate-img img{
  max-width:100%;
  height:auto;
  border-radius:12px;
}

/* MOBILE FIX */
/* ===== MOBILE DONATE FINAL FIX ===== */
@media(max-width:768px){

  .donate{
    padding:25px 15px;
    text-align:center;
  }

  .donate-text h2{
    font-size:24px;
    line-height:1.3;
  }

  .donate-text p{
    font-size:14px;
    line-height:1.5;
  }

  .donate-text .btn{
    margin-top:12px;
    padding:12px 20px;
    font-size:14px;
  }

  .donate-img{
    margin-top:20px;
  }

  .donate-img img{
    width:100%;
    border-radius:15px;
  }

}



/* ================= MOBILE FIX ================= */
@media(max-width:768px){

  .hero{
    height:45vh;
    padding:20px;
  }

  .hero-text h1{ font-size:30px; }
  .hero-text h2{ font-size:16px; }
  .hero-text p{ font-size:13px; }

  .btn-row .btn{
    flex:1;
    font-size:13px;
    padding:10px;
  }

  .card-img img{
    height:200px;
  }

  .card-content{
    padding:12px;
  }

  .card-content h3{
    font-size:16px;
  }

  .card-content p{
    font-size:12px;
  }

  .card-content .btn{
    padding:8px 16px;
    font-size:12px;
    min-width:90px;
  }
}

/* ONLY LONG TITLE FIX */
.long-title{
  text-align:center;
  line-height:1.2;
  word-break:break-word;
}

  .long-title{
    font-size:15px;   /* 👈 perfect fit */
  }
/* BUTTON ALIGN */
.donate-btn{
  width:100%;
  margin-top:10px;
}

/* CLOSE BUTTON CENTER */
.close-btn{
  width:100%;
  margin-top:10px;
  padding:10px;
  border:none;
  border-radius:10px;
  background:#ccc;
}

#joinPopup{
  display:none;
  position:fixed;
  top:0;left:0;
  width:100%;height:100%;
  background:rgba(0,0,0,0.6);
  z-index:9999;
}

#joinPopup .popup-box{
  background:#fff;
  width:90%;
  max-width:500px;
  margin:20px auto;
  padding:20px;
  border-radius:12px;
  max-height:90vh;
  overflow-y:auto;
  box-sizing:border-box;
}


#joinPopup input{
  width:100%;
  padding:12px 15px;
  margin:8px 0;
  border-radius:8px;
  border:1px solid #ddd;
    box-sizing:border-box;
}

#joinPopup label{
  font-size:14px;
}

#joinPopup .donate-btn{
  width:100%;
  background:#ff4d00;
  color:#fff;
  padding:12px;
  border:none;
  border-radius:8px;
}
#joinPopup label{
  display:flex;
  align-items:center;
  gap:10px;
  margin:6px 0;
  font-size:14px;
}

#joinPopup input[type="checkbox"]{
  width:auto;
}
#joinPopup input[type="checkbox"]{
  transform:scale(1.2);
}

@keyframes popupFade{
  from{transform:translateY(30px);opacity:0;}
  to{transform:translateY(0);opacity:1;}
}

#explorePopup{
  display:none;
  position:fixed;
  top:0;left:0;
  width:100%;height:100%;
  background:rgba(0,0,0,0.6);
  z-index:9999;
}

#explorePopup .popup-box{
  background:#fff;
  width:90%;
  max-width:500px;
  margin:20px auto;
  padding:20px;
  border-radius:12px;
  max-height:90vh;
  overflow-y:auto;
  box-sizing:border-box;
}

.popup-content p{
  font-size:14px;
  line-height:1.6;
  margin-bottom:10px;
}

/* ===== DONATE POPUP PREMIUM ===== */
#donatePopup{
  display:none;
  position:fixed;
  top:0;left:0;
  width:100%;height:100%;
  background:rgba(0,0,0,0.6);
  z-index:9999;
}

#donatePopup .popup-box{
  background:#fff;
  width:90%;
  max-width:500px;
  margin:20px auto;
  padding:20px;
  border-radius:12px;
  max-height:90vh;
  overflow-y:auto;
  box-sizing:border-box;
}

#donatePopup h2{
  text-align:center;
  margin-bottom:10px;
}
#donatePopup input{
  width:100%;
  padding:12px 15px;
  margin:8px 0;
  border-radius:8px;
  border:1px solid #ddd;
  box-sizing:border-box;
}

#donatePopup input:focus{
  border-color:#ff4d00;
  outline:none;
}

#donatePopup .donate-btn{
  width:100%;
  background:#ff4d00;
  color:#fff;
  padding:12px;
  border:none;
  border-radius:8px;
  font-weight:bold;
}

#donatePopup .donate-btn:hover{
  transform:scale(1.02);
}

@keyframes fadeUp{
  from{transform:translateY(30px);opacity:0;}
  to{transform:translateY(0);opacity:1;}
}


/* ===== FINAL POPUP FIX ===== */
#joinPopup, #donatePopup, #explorePopup{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.6);
  z-index:9999;
  align-items:center;
  justify-content:center;
}

#joinPopup.active, #donatePopup.active, #explorePopup.active{
  display:flex;
}

.popup-box{
  background:#fff;
  width:90%;
  max-width:420px;
  padding:20px;
  border-radius:16px;
  max-height:85vh;
  overflow-y:auto;
  box-shadow:0 10px 30px rgba(0,0,0,0.3);
}
/* SLIDER */
.slider{
  position:relative;
  width:100%;
  /*margin-top:20px;*/   /* 👈 gap add top*/
  overflow:hidden;
}

.slides{
  display:flex;
  transition:transform 0.5s ease;
}

.slides img{
  width:100%;
  flex-shrink:0;
  height:500px;
  object-fit:cover;
}

/* ARROWS */
.prev, .next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.5);
  color:#fff;
  border:none;
  padding:10px 15px;
  cursor:pointer;
  border-radius:50%;
}

.prev{ left:10px; }
.next{ right:10px; }

/* DOTS */
.dots{
  text-align:center;
  position:absolute;
  bottom:10px;
  width:100%;
}

.dots span{
  display:inline-block;
  width:10px;
  height:10px;
  margin:5px;
  background:#fff;
  border-radius:50%;
  opacity:0.5;
  cursor:pointer;
}

.dots .active{
  opacity:1;
  background:#ff6b3d;
}

/* MOBILE */
@media(max-width:600px){
  .slides img{
    height:180px;
  }
}

/* Impact Section */
.impact-section {
  text-align: center;
  padding: 50px 20px;
      background: linear-gradient(to right, #f8efe6, #fdf6f0);
  background: #f8efe6; /* हल्का cream जैसा */
}

.impact-title {
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: bold;
}

/* Container */
.impact-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Boxes */
.impact-box {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  width: 200px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.impact-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Numbers */
.impact-number {
  font-size: 36px;
  font-weight: bold;
  color: #333;
}

.impact-number.highlight {
  color: #e65c5c; /* red highlight */
}

/* Footer */
.impact-footer {
  margin-top: 20px;
  font-size: 16px;
  color: #555;
}

.section-title{
  position:relative;
  text-align:center;
  font-size:22px;
  font-weight:700;
  margin:40px 0;
}

.section-title span{
  background:#f8efe6;
  padding:0 15px;
  position:relative;
  z-index:2;
}

/* lines */
.section-title::before,
.section-title::after{
  content:"";
  position:absolute;
  top:50%;
  width:42%;
  height:2px;
  background:#e5d5c9;
}

.section-title::before{ left:0; }
.section-title::after{ right:0; }

.follow-us {
  text-align: center;
  margin-bottom: 15px;
}

.follow-us h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: black;
}
.star-heading::before,
.star-heading::after {
  content: "★";
  color: gold;
  font-size: 20px;
  margin: 0 10px;
  text-shadow: 0 0 5px gold, 0 0 10px orange;
}

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

.social-icons a {
  width: 45px;
  height: 45px;
  background: #1c1c1c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
}

.social-icons a i {
  color: #fff;
  font-size: 18px;
}

.social-icons a:hover {
  background: #ff0000;
}

/* MAIN POPUP FULL SCREEN */
#mainPopup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.6);
  z-index:9999;

  display:none;
  align-items:center;
  justify-content:center;
}

/* ACTIVE */
#mainPopup.active{
  display:flex;
}

/* CENTER BOX */
#mainPopup .popup-box{
  background:#fff;
  width:90%;
  max-width:500px;

  padding:20px;
  border-radius:15px;

  max-height:90vh;
  overflow-y:auto;

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

/* IMAGE FIX */
.popup-images img{
  width:100%;
  height:auto;
  border-radius:10px;
}
/* BACKGROUND */
#donationPopup{
position:fixed;
inset:0;
background:rgba(0,0,0,0.5);
display:flex;
align-items:center;
justify-content:center;
z-index:9999;
}

/* CARD */
.popup-card{
width:90%;
max-width:500px;
background:linear-gradient(to bottom,#ffe0b3,#f5d3a5);
border-radius:20px;
padding:20px;
text-align:center;
box-shadow:0 10px 30px rgba(0,0,0,0.3);
position:relative;
}

/* HEADER */
.popup-header{
background:linear-gradient(to right,#ff7a00,#ff3c00);
color:#fff;
padding:10px;
border-radius:12px;
font-weight:bold;
margin-bottom:15px;
}

/* TITLE */
.popup-card h1{
font-size:30px;
color:#b34700;
margin-bottom:10px;
}

/* TEXT */
.hindi{
font-size:15px;
margin-bottom:8px;
}

.english{
font-size:15px;
margin-bottom:10px;
}

.count{
color:green;
font-weight:bold;
margin-bottom:15px;
}

/* BUTTONS */
.btn-group{
display:flex;
justify-content:center;
gap:10px;
}

.donate{
background:#ff2d2d;
color:#fff;
border:none;
padding:12px 20px;
border-radius:10px;
font-weight:bold;
cursor:pointer;
}

.later{
background:#ddd;
border:none;
padding:12px 20px;
border-radius:10px;
cursor:pointer;
}

/* CONTACT */
.contact{
margin-top:15px;
font-size:14px;
}

/* image slider niche wala */
.swiper {
  width: 100%;
  max-width: 900px;
  margin: auto;
}

.swiper-slide img {
  width: 100%;
  border-radius: 10px;
}