:root {
  --navy: #0b2e6e;
  --navy-dark: #08234f;
  --saffron: #e8590c;
  --saffron-light: #fb8b3c;
  --green: #2f7d32;
  --gold: #d9a328;
  --cream: #fdf6ec;
  --ink: #1f2733;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "Mukta", "Noto Sans Devanagari", system-ui, sans-serif;
  color: var(--ink);
  background-color: #ffffff;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, .display-4, .display-5 {
  font-family: "Tiro Devanagari Hindi", "Mukta", serif;
  font-weight: 700;
}

/* ===== Top bar ===== */
.topbar {
  background: var(--navy-dark);
  color: #fff;
  font-size: 0.85rem;
}
.topbar a {
  color: #ffd98a;
  text-decoration: none;
}
.topbar a:hover {
  color: #fff;
}

/* ===== Navbar ===== */
.navbar-brand img {
  height: 120px;
  width: 120px;
  
  background: #fff;
}
.navbar-brand .brand-text {
  line-height: 1.1;
}
.navbar-brand .brand-title {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
}
.navbar-brand .brand-sub {
  color: var(--saffron);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.navbar .nav-link {
  color: var(--navy) !important;
  font-weight: 600;
  margin: 0 0.15rem;
  border-radius: 6px;
  transition: all 0.2s;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--saffron) !important;
}
.btn-donate {
  background: var(--saffron);
  color: #fff !important;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.5rem 1.4rem;
}
.btn-donate:hover {
  background: var(--saffron-light);
  color: #fff;
}

/* ===== Hero Slider ===== */
.hero-slider {
  position: relative;
}
.hero-slider .carousel-item {
  height: 500px;
  min-height: 400px;
}
.hero-slider .carousel-item img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slider .carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(8, 35, 79, 0.85));
  padding: 3rem 1rem 2rem;
  color: #fff;
}
.hero-slider .carousel-caption h1 {
  font-size: 2.6rem;
  font-weight: 700;
}
.hero-slider .carousel-caption p {
  font-size: 1.1rem;
  opacity: 0.95;
}
.hero-slider .tri-strip {
  height: 6px;
  background: linear-gradient(90deg, var(--saffron) 33%, #fff 33% 66%, var(--green) 66%);
}
.btn-cta {
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  border-radius: 50px;
  padding: 0.7rem 1.8rem;
}
.btn-cta:hover {
  background: #f0b94a;
  color: var(--navy-dark);
}
.btn-outline-cta {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.7rem 1.8rem;
}
.btn-outline-cta:hover {
  background: #fff;
  color: var(--navy);
}

/* ===== Section helpers ===== */
.section {
  padding: 4.5rem 0;
}
.section-title {
  color: var(--navy);
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: var(--saffron);
  border-radius: 4px;
  margin: 0.6rem auto 0;
}
.text-saffron { color: var(--saffron) !important; }
.text-navy { color: var(--navy) !important; }
.bg-cream { background: var(--cream) !important; }
.bg-navy { background: var(--navy) !important; }

/* ===== Cards ===== */
.feature-card {
  border: none;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 46, 110, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(11, 46, 110, 0.16);
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 1rem;
}

/* ===== Stats ===== */
.stats {
  background: var(--navy);
  color: #fff;
}
.stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold);
}

/* ===== Gallery ===== */
.gallery-item {
  overflow: hidden;
  border-radius: 14px;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(8, 35, 79, 0.9));
  color: #fff;
  padding: 1.5rem 1rem 0.8rem;
  font-weight: 600;
}

/* ===== Donate ===== */
.donate-card {
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(11, 46, 110, 0.12);
  border: none;
}
.amount-btn {
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  border-radius: 10px;
}
.amount-btn:hover,
.amount-btn.active {
  background: var(--navy);
  color: #fff;
}
.qr-box {
  border: 2px dashed var(--gold);
  border-radius: 14px;
}

/* ===== Footer ===== */
footer {
  background: var(--navy-dark);
  color: #cdd7e8;
}
footer a {
  color: #cdd7e8;
  text-decoration: none;
}
footer a:hover {
  color: #fff;
}
footer h5 {
  color: #fff;
}
.footer-tag {
  background: var(--saffron);
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  display: inline-block;
  padding: 0.2rem 1rem;
}
.social-ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.social-ic:hover { background: var(--saffron); color:#fff; }

.page-banner {
  background: linear-gradient(rgba(8,35,79,0.85), rgba(11,46,110,0.85)), url("../img/hero.png") center/cover;
  color: #fff;
  padding: 3.5rem 0;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 1.9rem; }
  .navbar-brand .brand-title { font-size: 0.9rem; }
  .hero-slider .carousel-item {
    height: 400px;
    min-height: 350px;
  }
  .hero-slider .carousel-caption h1 {
    font-size: 1.8rem;
  }
  .hero-slider .carousel-caption p {
    font-size: 0.95rem;
  }
  .hero-slider .carousel-caption {
    padding: 2rem 1rem 1.5rem;
  }
}
