:root {
  --maroon: #7A1F2B;
  --maroon-dark: #5C141D;
  --red: #C1272D;
  --saffron: #F4A300;
  --gold: #FFD37A;
  --green: #0F6E56;
  --cream: #FFF8EC;
  --ink: #2C2A26;
}

* { box-sizing: border-box; }

body {
  font-family: "Noto Sans", "Tiro Devanagari Marathi", "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

a { text-decoration: none; }

/* ---------- Top bar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--maroon-dark), var(--maroon));
  color: #FFE9BE;
  font-size: 0.85rem;
}
.topbar a { color: #FFE9BE; }
.topbar a:hover { color: #fff; }

/* ---------- Navbar / brand ---------- */
.site-header { background: var(--cream); border-bottom: 3px solid var(--saffron); }
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.maharaj {
  width: 64px; height: 64px; border-radius: 50%;
  border: 3px solid var(--saffron); object-fit: cover; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.brand-title { text-align: center; line-height: 1.2; }
.brand-title .t1 { font-size: 1.5rem; font-weight: 700; color: var(--maroon); }
.brand-title .t2 { font-size: .85rem; color: var(--green); font-weight: 600; }

.navbar-saffron { background: var(--maroon); }
.navbar-saffron .nav-link { color: #FFE9BE !important; font-weight: 600; padding: .6rem 1rem; }
.navbar-saffron .nav-link:hover,
.navbar-saffron .nav-link.active { color: #fff !important; background: rgba(255,255,255,.12); border-radius: 6px; }

.btn-saffron { background: var(--saffron); border-color: var(--saffron); color: #4A2A00; font-weight: 700; }
.btn-saffron:hover { background: #e09600; border-color: #e09600; color: #3a2000; }
.btn-outline-cream { border: 2px solid #FFE9BE; color: #FFE9BE; font-weight: 600; }
.btn-outline-cream:hover { background: #FFE9BE; color: var(--maroon); }

/* ---------- Hero / banner ---------- */
.hero-banner img { width: 100%; height: auto; display: block; }
.hero-banner { position: relative; }

/* ---------- Section ---------- */
.section { padding: 3rem 0; }
.section-title {
  font-size: 1.6rem; font-weight: 700; color: var(--maroon);
  text-align: center; margin-bottom: .35rem;
}
.section-title + .section-sub { text-align: center; color: #7a7468; margin-bottom: 2rem; }
.title-underline { width: 90px; height: 4px; background: var(--saffron); border-radius: 4px; margin: .5rem auto 1.5rem; }

.info-card {
  background: #fff; border: 1px solid #efe6d6; border-radius: 14px;
  padding: 1.5rem; height: 100%; box-shadow: 0 4px 14px rgba(122,31,43,.06);
}
.info-card .ic-icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 1.5rem;
  background: #FCEFD7; color: var(--maroon); margin-bottom: .9rem;
}

/* ---------- Gallery ---------- */
.gallery-item { overflow: hidden; border-radius: 12px; border: 1px solid #efe6d6; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Biodata cards ---------- */
.biodata-card { background:#fff; border:1px solid #efe6d6; border-radius:14px; overflow:hidden; height:100%; transition: box-shadow .2s, transform .2s; }
.biodata-card:hover { box-shadow: 0 8px 22px rgba(122,31,43,.14); transform: translateY(-3px); }
.biodata-photo { width:100%; height:240px; object-fit:cover; background:#EFE7DA; }
.badge-cat { font-size:.72rem; }
.cat-Doctor { background:#FAECE7; color:#993C1D; }
.cat-Engineer { background:#E6F1FB; color:#0C447C; }
.cat-CA { background:#E1F5EE; color:#085041; }
.cat-Other { background:#F1EFE8; color:#444441; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-dark); color: #FFE9BE; padding: 2.5rem 0 1.25rem; }
.site-footer a { color: #FFD37A; }
.site-footer h6 { color: #fff; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.5rem; padding-top: 1rem; font-size: .85rem; color: #E7C99B; }

/* ---------- Misc ---------- */
.fee-pill { background:#E1F5EE; color:#0F6E56; font-weight:700; border-radius:30px; padding:.4rem 1.1rem; display:inline-block; }
