:root{
  --blue:#0b3c5d;
  --green:#176b3c;
  --saffron:#e8870a;
  --ivory:#fff8ed;
  --cream:#f9f5ef;
  --dark:#10202b;
  --text:#475569;
  --white:#ffffff;
  --shadow:0 18px 45px rgba(16,32,43,.10);
  --radius:24px;
}

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

html{scroll-behavior:smooth}

body{
  font-family:Inter,"Noto Sans Devanagari",sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.7;
  overflow-x:hidden;
}

h1,h2,h3,h4{
  font-family:Fraunces,"Noto Sans Devanagari",serif;
  color:var(--dark);
  line-height:1.18;
}

a{text-decoration:none;color:inherit}
ul{list-style:none}
img{max-width:100%;display:block}

.navbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(14px);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 7%;
  box-shadow:0 8px 28px rgba(0,0,0,.06);
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  color:var(--blue);
}

.logo img{height:58px}

.nav-links{
  display:flex;
  align-items:center;
  gap:22px;
  font-weight:700;
}

.nav-links a:hover,
.nav-links a.active{color:var(--saffron)}

.donate-link,
.lang-switch{
  background:var(--saffron);
  color:#fff!important;
  padding:9px 16px;
  border-radius:999px;
}

.hero{
  min-height:86vh;
  display:grid;
  place-items:center;
  text-align:center;
  padding:110px 7%;
  background:
    linear-gradient(rgba(11,60,93,.82),rgba(23,107,60,.78)),
    url("assets/images/hero/hero.jpg") center/cover,
    var(--blue);
}

.hero h1{
  max-width:1050px;
  margin:auto;
  color:#fff;
  font-size:clamp(2.4rem,5vw,5rem);
}

.hero p{
  max-width:850px;
  margin:24px auto;
  color:#f8fafc;
  font-size:1.15rem;
}

.eyebrow,
.section-label{
  display:inline-block;
  margin-bottom:18px;
  padding:9px 18px;
  border-radius:999px;
  background:rgba(232,135,10,.12);
  color:var(--saffron);
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.hero .eyebrow{
  background:rgba(255,255,255,.16);
  color:#fff;
}

.section{
  padding:95px 7%;
  text-align:center;
}

.section.soft{
  background:var(--ivory);
}

.section h2{
  font-size:clamp(2rem,4vw,3.3rem);
  margin-bottom:18px;
}

.section-intro{
  max-width:850px;
  margin:0 auto;
  font-size:1.08rem;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:26px;
  margin-top:46px;
}

.card{
  background:#fff;
  border:1px solid rgba(11,60,93,.08);
  border-radius:var(--radius);
  padding:32px;
  text-align:left;
  box-shadow:var(--shadow);
  transition:.3s;
}

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

.card span{
  display:inline-flex;
  width:52px;
  height:52px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--ivory);
  color:var(--saffron);
  font-weight:900;
  margin-bottom:18px;
}

.card h3{
  margin-bottom:12px;
  color:var(--blue);
}

.bharat{
  background:linear-gradient(135deg,var(--cream),#fff);
}

.philosophy{
  background:linear-gradient(135deg,var(--blue),var(--green));
  color:#fff;
}

.philosophy h2,
.philosophy h3{
  color:#fff;
}

.philosophy .section-label{
  background:rgba(255,255,255,.14);
  color:#fff;
}

.stat{
  background:#fff;
  border-radius:var(--radius);
  padding:32px;
  box-shadow:var(--shadow);
}

.stat h3{
  font-size:2.4rem;
  color:var(--saffron);
}

.founder-box{
  max-width:950px;
  margin:45px auto 0;
  background:#fff;
  border-radius:var(--radius);
  padding:42px;
  box-shadow:var(--shadow);
  text-align:left;
}

.cta{
  padding:95px 7%;
  text-align:center;
  background:linear-gradient(135deg,var(--blue),var(--green));
  color:#fff;
}

.cta h2{color:#fff;font-size:clamp(2rem,4vw,3.4rem)}
.cta p{max-width:760px;margin:18px auto 30px}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 28px;
  border-radius:999px;
  font-weight:800;
  margin:8px;
  transition:.25s;
}

.btn.primary{background:var(--saffron);color:#fff}
.btn.secondary{background:#fff;color:var(--blue)}
.btn.outline{border:2px solid #fff;color:#fff}

.btn:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(0,0,0,.18);
}

footer{
  background:var(--dark);
  color:#dbeafe;
  text-align:center;
  padding:65px 7% 30px;
}

footer img{
  width:86px;
  margin:0 auto 18px;
}

footer h3{
  color:#fff;
  font-size:2rem;
}

footer a{color:#fff}
footer a:hover{color:var(--saffron)}

.footer-links{
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
  margin:28px 0;
  font-weight:700;
}

.whatsapp{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:999;
  background:#25d366;
  color:#fff;
  padding:14px 18px;
  border-radius:999px;
  font-weight:800;
  box-shadow:var(--shadow);
}

#topBtn,
#darkToggle{
  position:fixed;
  width:52px;
  height:52px;
  border:none;
  border-radius:50%;
  cursor:pointer;
  z-index:999;
  box-shadow:var(--shadow);
}

#topBtn{
  right:22px;
  bottom:88px;
  background:var(--blue);
  color:#fff;
  font-size:24px;
  opacity:0;
  visibility:hidden;
  transition:.3s;
}

#darkToggle{
  left:22px;
  bottom:22px;
  background:var(--dark);
  color:#fff;
  font-size:21px;
}

body.dark{
  background:#101820;
  color:#d8dee9;
}

body.dark .navbar,
body.dark .card,
body.dark .stat,
body.dark .founder-box{
  background:#172331;
  color:#e5edf5;
}

body.dark h1,
body.dark h2,
body.dark h3{
  color:#fff;
}

.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:.8s;
}

.reveal.show{
  opacity:1;
  transform:none;
}

@media(max-width:900px){
  .navbar{
    flex-direction:column;
    gap:14px;
  }

  .nav-links{
    flex-wrap:wrap;
    justify-content:center;
    gap:14px;
    font-size:.92rem;
  }

  .hero{
    min-height:auto;
    padding:90px 6%;
  }

  .section,
  .cta{
    padding:70px 6%;
  }

  .founder-box{
    padding:30px;
  }
}

@media(max-width:520px){
  .logo span{
    font-size:.95rem;
  }

  .logo img{
    height:48px;
  }

  .nav-links{
    font-size:.86rem;
  }

  .btn{
    width:100%;
  }

  .hero h1{
    font-size:2.2rem;
  }
}
.contact-form{
  max-width:760px;
  margin:45px auto 0;
  display:grid;
  gap:20px;
  text-align:left;
}

.form-group{
  display:flex;
  flex-direction:column;
}

.form-group label{
  font-weight:800;
  color:var(--dark);
  margin-bottom:8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select{
  width:100%;
  padding:15px 17px;
  border:1px solid rgba(11,60,93,.18);
  border-radius:16px;
  font-family:inherit;
  font-size:1rem;
  background:#fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus{
  outline:none;
  border-color:var(--saffron);
  box-shadow:0 0 0 4px rgba(232,135,10,.15);
}

.map-container{
  margin-top:40px;
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:20px;
  margin-top:45px;
}

.gallery img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:22px;
  box-shadow:var(--shadow);
  cursor:pointer;
  transition:.3s;
}

.gallery img:hover{
  transform:scale(1.04);
}

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:99999;
  padding:30px;
}

.lightbox.active{
  display:flex;
}

.lightbox img{
  max-width:92%;
  max-height:88vh;
  border-radius:18px;
}

.lightbox-close{
  position:absolute;
  top:24px;
  right:30px;
  background:none;
  border:none;
  color:#fff;
  font-size:42px;
  cursor:pointer;
}

.navbar.scrolled{
  box-shadow:0 12px 34px rgba(0,0,0,.10);
}

@media(max-width:700px){
  .contact-form{
    margin-top:30px;
  }

  .gallery img{
    height:220px;
  }
}
.card h3 {
  color: #12324a;
  font-size: 24px;
  margin: 18px 0 12px;
  font-weight: 700;
}

.card p {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.card span {
  color: #f28c00;
  background: #fff7e8;
  font-weight: 800;
}
/* Philosophy Cards */
.philosophy .card{
    background:#ffffff;
}

.philosophy .card h3{
    color:#12324a !important;
}

.philosophy .card p{
    color:#4b5563 !important;
}

.philosophy .card span{
    background:#fff7e8;
    color:#f28c00 !important;
}
.philosophy .card {
  background: #ffffff !important;
  color: #4b5563 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.philosophy .card h3 {
  color: #12324a !important;
  opacity: 1 !important;
}

.philosophy .card p {
  color: #4b5563 !important;
  opacity: 1 !important;
}

.philosophy .card span {
  background: #fff7e8 !important;
  color: #f28c00 !important;
}
