:root {
  --blue: #1a2bb5;
  --navy: #0f1a6b;
  --red: #e8141b;
  --ink: #1c2033;
  --muted: #5b6078;
  --tint: #f3f4fb;
  --line: #dfe2f0;
  --r: 10px;
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Hind", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  background: #fff;
}
h1,
h2,
h3 {
  font-family: "Yatra One", "Hind", serif;
  font-weight: 400;
  line-height: 1.25;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--blue);
}
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}
.wrap {
  max-width: 1160px;
  margin: auto;
  padding: 0 20px;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  background: #fff;
  padding: 8px;
  z-index: 99;
}

.btn {
  display: inline-block;
  padding: 14px 30px 11px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height:1;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--blue);
}
.btn-ghost {
  border-color: #fff;
  color: #fff;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.topbar {
  background: var(--navy);
  color: #dfe3ff;
  font-size: 14px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar a {
  color: #fff;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 50;
  border-bottom: 2px solid var(--red);
}
.site-header .wrap.nav-row {
  max-width: 92%;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand span {
  line-height: 1;
}
.brand img {
  border-radius: 50%;
}
.brand b {
  display: block;
  font-family: "Yatra One", serif;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.2;
  color: var(--blue);
}
.brand small {
  color: var(--muted);
  font-size: 13px;
}
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
nav a,
.sub-btn {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  border-radius: 6px;
}
nav a:hover,
.sub-btn:hover,
nav a.active {
  color: var(--red);
}
nav a.btn {
  color: #fff;
  margin-left: 6px;
  line-height: 1;
}
nav a.btn:hover {
  color: #fff;
}
.has-sub {
  position: relative;
}
.sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 0 0 var(--r) var(--r);
  box-shadow: 0 10px 24px rgba(15, 26, 107, 0.14);
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.2s;
}
.has-sub:hover .sub,
.has-sub.open .sub,
.has-sub:focus-within .sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.sub a {
  padding: 9px 12px;
}
.sub a:hover {
  background: var(--tint);
}
.toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--blue);
  margin: 5px 0;
  transition: 0.25s;
  border-radius: 2px;
}
.toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  color: #fff;
  background: linear-gradient(
    180deg,
    var(--blue) 0%,
    var(--blue) 45%,
    var(--red) 100%
  );
  padding:100px 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 40px;
    align-items: center;
    z-index: 99;
    position: relative;
}
.kicker {
  font-family: "Yatra One", serif;
  font-size: 19px;
  opacity: 0.9;
  margin-bottom: 10px;
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 62px);
  margin-bottom: 18px;
}
.lead {
  max-width: 56ch;
  font-size: 19px;
  opacity: 0.95;
}
.badge {
  width: min(350px, 100%);
  border-radius: 50%;
  margin: auto;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.18),
    0 20px 50px rgba(0, 0, 0, 0.3);
}
.hero:before {
    content: "";
    background-image: linear-gradient(90deg, #ffffff7a 1px, #ffffff00 1px), linear-gradient(#ffffffb8 1px, #ffffff99 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 0, #000 40%, #0000 80%);
    mask-image: radial-gradient(70% 80% at 50% 0, #ffffff3d 40%, #0000 80%);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.sec {
  padding: 76px 0;
}
.tint {
  background: var(--tint);
}
.sec h2,
.cta h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--navy);
  margin-bottom: 10px;
}
.sec p + p {
  margin-top: 14px;
}
.sec .btn {
  margin-top: 24px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
blockquote {
  border-left: 6px solid var(--red);
  background: var(--tint);
  padding: 28px;
  border-radius: 0 var(--r) var(--r) 0;
  font-family: "Yatra One", serif;
  font-size: 22px;
  line-height: 1.5;
  color: var(--navy);
}
blockquote cite {
  display: block;
  margin-top: 12px;
  font: 500 15px "Hind", sans-serif;
  color: var(--red);
  font-style: normal;
}
.narrow {
  max-width: 800px;
}
.imgwrap img {
    border-radius: 20px;
    width: 100%;
    aspect-ratio: 4/3.7;
    object-fit: cover;
    box-shadow: var(--shadow);
}
section#about blockquote {
    margin-top: 20px;
}
.grid {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 20px;
}
.cards {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}
section#work i.fa-solid {
    font-size: 35px;
    margin-bottom: 20px;
    color: #0f1a6b;
}
.cards li {
  background: #fff;
  padding: 26px;
  border-radius: var(--r);
  border-top: 4px solid var(--blue);
}
.cards li:nth-child(even) {
  border-top-color: var(--red);
}
.cards h3 {
  font-size: 25px;
  color: var(--navy);
  margin-bottom: 6px;
}
.cards p {
  color: var(--muted);
  font-size: 18px;
}
#mission {
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 35%, var(--red) 130%);
    color: #fff;
}
#mission h2{
  color:#fff
}
.steps {
  list-style: none;
  padding: 0;
  counter-reset: s;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.steps li {
  counter-increment: s;
  position: relative;
  padding-top: 58px;
}
.steps li::before {
  content: counter(s);
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
}
.steps li:last-child::before {
  background: var(--red);
}
.steps b {
  display: block;
  font-size: 25px;
  color: var(--navy);
}
.steps span {
  color: var(--muted);
}

section#video {
    background: url(https://www.mmitrasangh.com/assets/front/banners/banner1.jpg);
    background-size: cover;
    position:relative;
    padding: 150px 0;
}
section#video:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #090f38;
    opacity: 0.7;
}
section#video div {
    position: relative;
    z-index: 9;
}
h2#video-h {
    color: #fff;
    font-size: 55px;
    margin: 0 0 5px;
}
.video-wrap{
  color:#fff;
}
.head-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
section#programs ul.grid.gallery {
    gap: 15px;
}
.gallery {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 12px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r);
}

.cta {
  background: linear-gradient(90deg, var(--navy), var(--blue));
  color: #fff;
  text-align: center;
  padding: 70px 0;
}
.cta h2 {
    color: #fff;
    font-size: 55px;
    margin-bottom:15px;
}
.cta p {
  max-width:60ch;
  margin: auto;
  font-size:20px;
}
.cta .actions {
  justify-content: center;
}
h2#faq-h {
    text-align: center;
}
details {
    margin-top: 10px;
    background: #eef1fd;
    padding: 15px 25px;
    border-radius: 18px;
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
summary::after {
  content: "+";
  color: var(--red);
  font-size: 24px;
  line-height: 1;
}
details[open] summary::after {
  content: "–";
}
details p {
  margin-top: 10px;
  color: var(--muted);
}

address {
  font-style: normal;
}
address p {
  margin-bottom: 16px;
}
address b {
  color: var(--navy);
}
form {
  background: #fff;
  padding: 28px;
  border-radius: var(--r);
  display: grid;
  gap: 16px;
}
label {
  font-weight: 500;
  display: grid;
  gap: 6px;
}
input,
textarea {
  font: inherit;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  width: 100%;
}
input:focus,
textarea:focus {
  border-color: var(--blue);
  outline: none;
}
#status {
  min-height: 1.4em;
  color: var(--blue);
  font-weight: 500;
}

section.sec.donate {
    background: linear-gradient(90deg, var(--red), #6f0001);
    color: #fff;
    margin-bottom: 1px;
}
section.sec.donate h2 {
    color: #fff;
    line-height:1;
    font-size: 50px;
    margin-bottom: 10px;
}
section.sec.donate .two {
    grid-template-columns: 4fr 1fr;
    gap: 30px;
}
.btn-section {
    text-align: right;
}
.btn-section a.btn.btn-white {
    margin:0;
}

footer {
  background: var(--navy);
  color: #cfd4f5;
  font-size:16px;
  padding-top: 56px;
}
.foot {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 36px;
}
footer img {
  border-radius: 50%;
  margin-bottom: 10px;
}
footer h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 12px;
}
footer .footer-link ul {
    list-style: none;
    padding: 0;
    column-count: 2;
    display: block;
}
footer .footer-link ul a {
    color: #cfd4f5;
    text-decoration: none;
    line-height: 1;
    padding: 8px 0;
    font-size: 15px;
    display: block;
    font-weight: 400;
}
footer .footer-link ul a:hover {
  color: #fff;
  text-decoration: underline;
}
p.contact-info {
    line-height: 1.5;
    margin-top: 12px;
}
p.contact-info i.fa-solid {
    width: 20px;
}
.copy {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 40px;
  padding: 18px;
  font-size: 14px;
}

@media (max-width: 960px) {
  .toggle {
    display: block;
  }
  .site-header .wrap.nav-row {
      max-width: 100%;
  }
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s;
    border-bottom: 3px solid var(--red);
  }
  nav.open {
    max-height: 80vh;
    overflow: auto;
  }
  nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 20px;
    gap: 0;
  }
  nav a,
  .sub-btn {
    width: 100%;
    text-align: left;
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .sub-btn {
    display: flex;
    justify-content: space-between;
  }
  .sub {
    position: static;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--red);
    border-radius: 0;
    margin-left: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
  }
  .has-sub.open .sub {
    max-height: 200px;
  }
  nav a.btn {
    margin: 14px 0 0;
    text-align: center;
  }
  .hero-grid,
  .two,
  .foot {
    grid-template-columns: 1fr;
  }
  .badge {
    order: -1;
    width: 180px;
  }
  .cards,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  section#video {
      padding:50px 0;
  }
  section.sec.donate .two {
      display: block;
  }
  .btn-section {
    text-align: left;
    margin-top: 20px;
}
}
@media (max-width: 600px) {
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }
  .sec {
    padding: 56px 0;
  }
  .topbar .wrap {
    justify-content: center;
    gap:0;
  }
  .brand small {
    display: none;
  }
  h2#video-h,
  section.sec.donate h2,
  .cta h2 {
      font-size: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Banner slider (added for admin-managed homepage banners) */
.banner-slider { position: relative; width: 100%; overflow: hidden; background: #000; }
.banner-slide { display: none; width: 100%; }
.banner-slide.active { display: block; }
.banner-slide img { width: 100%; height: auto; display: block; }
.banner-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.banner-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.banner-dots span.active { background: #fff; }
