/* ============================================
   Vedic Theme - Reference: test.html
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Serif Devanagari", serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #f3e1c6;
  background-image: none;
  background-size: cover;
  background-attachment: fixed;
  color: #5a2d0c;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   Sticky header wrapper
   ============================================ */
.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ============================================
   Top Strip (ref: test.html)
   ============================================ */
.top-strip {
  background: #e6c79c;
  padding: 5px 0;
  font-size: 14px;
  border-bottom: 2px solid #c8a46c;
}

.top-strip .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-strip .container .top-strip-text {
  min-width: 0;
}

.top-strip-text,
.top-strip span {
  color: #5a2d0c;
}

.top-strip-text {
  display: block;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.donate-btn {
  background: #8b2e00;
  color: #fff;
  padding: 6px 14px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.donate-btn:hover {
  opacity: 0.9;
}

/* ============================================
   Main Header (ref: test.html)
   ============================================ */
.main-header {
  text-align: center;
  padding: 14px 0;
  font-size: 28px;
  color: #5a2d0c;
  background: #f3e1c6;
  border-bottom: 3px solid #c8a46c;
}

.main-header h1 {
  font-weight: 700;
  margin: 0;
}

/* ============================================
   Navbar (ref: test.html)
   ============================================ */
.navbar {
  background: #f0d7b1;
  padding: 8px 0;
  border-bottom: 2px solid #c8a46c;
}

.navbar ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.navbar li {
  font-weight: 600;
  color: #5a2d0c;
}

.navbar a {
  color: #5a2d0c;
  text-decoration: none;
  transition: opacity 0.2s;
}

.navbar a:hover {
  opacity: 0.8;
}

/* Section wrapper for optional per-section background (admin: Section Order) */
.section-outer {
  position: relative;
}

.section-outer--has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================
   Hero Section (ref: test.html)
   ============================================ */
.hero {
  height: 500px;
  min-height: 400px;
  background-color: #2c1810;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero .overlay {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 2;
  padding: 20px;
}

.overlay h2 {
  font-size: 42px;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.overlay p {
  font-size: 22px;
  margin-bottom: 30px;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-motto {
  font-size: 18px;
  font-style: italic;
  margin: 0 0 24px;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.btn-primary {
  background: linear-gradient(#b34700, #8b2e00);
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
  display: inline-block;
}

.btn-secondary {
  background: linear-gradient(#d4a24c, #a37421);
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
  display: inline-block;
}

.btn-primary:hover,
.btn-secondary:hover {
  opacity: 0.9;
}

/* ============================================
   About Us - हमारे बारे में (traditional framed layout)
   ============================================ */
.about-section {
  padding: 56px 0 48px;
}

.about-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.about-heading {
  font-size: 36px;
  font-weight: 700;
  color: #5a2d0c;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

/* Ornate gold divider with center emblem */
.about-divider--top,
.about-divider--bottom {
  width: 100%;
  max-width: 360px;
  height: 0;
  margin: 0 auto;
  border: none;
  border-top: 2px solid #d4af37;
  border-bottom: 1px solid #b8860b;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  position: relative;
}

.about-divider--top {
  margin-bottom: 28px;
}

.about-divider--top::after,
.about-divider--bottom::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 30% 30%, #d4af37, #b8860b);
  border: 1px solid #b8860b;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.about-divider--bottom {
  margin-top: 28px;
}

/* Framed content area - subtle gold/brown border */
.about-frame {
  border: 1px solid rgba(200, 164, 108, 0.6);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 252, 245, 0.5);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.2), 0 4px 20px rgba(90, 45, 12, 0.06);
}

.about-content {
  display: flex;
  align-items: stretch;
  gap: 32px;
  text-align: left;
}

.about-image {
  flex: 0 0 auto;
}

.about-image img {
  width: 100%;
  max-width: 380px;
  height: auto;
  min-height: 240px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: block;
}

.about-text {
  flex: 1;
  min-width: 0;
  font-size: 18px;
  color: #4b2a12;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
}

.about-quote {
  font-size: 17px;
  font-weight: 600;
  color: #6b3a1a;
  margin: 0 0 1rem;
  padding: 0 0 0 0.5rem;
  border-left: 3px solid #c8a46c;
  font-style: italic;
  line-height: 1.6;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-text p:last-of-type {
  margin-bottom: 0;
}

.read-more-btn {
  margin-top: 16px;
  padding: 12px 28px;
  min-height: 48px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.7);
  border-radius: 28px;
  background: linear-gradient(to right, #8b4513, #b34700, #d4a24c);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 12px rgba(139, 69, 19, 0.25);
}

.read-more-btn:hover {
  opacity: 0.95;
  box-shadow: 0 4px 16px rgba(139, 69, 19, 0.35);
}

/* ============================================
   Founder - संस्थापक (special section)
   ============================================ */
.founder-section {
  padding: 56px 0 48px;
}

.founder-container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.founder-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 36px;
  font-weight: 700;
  color: #5a2d0c;
  margin: 0 0 16px;
}

.founder-ornament {
  width: 48px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

.founder-ornament--left {
  background-image: url("left-arrow.png");
}

.founder-ornament--right {
  background-image: url("right-arrow.png");
}

.founder-divider {
  width: 100%;
  max-width: 320px;
  height: 0;
  margin: 0 auto 28px;
  border: none;
  border-top: 2px solid #d4af37;
  border-bottom: 1px solid #b8860b;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  position: relative;
}

.founder-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 30% 30%, #d4af37, #b8860b);
  border: 1px solid #b8860b;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.founder-divider--bottom {
  margin-top: 28px;
  margin-bottom: 0;
}

.founder-divider--bottom::after {
  display: none;
}

.founder-divider--mid {
  margin: 28px auto 24px;
}

.founder-intro-block {
  max-width: 780px;
  margin: 0 auto;
  padding: 24px 28px;
  background: linear-gradient(to bottom, rgba(255, 252, 248, 0.95), rgba(255, 250, 240, 0.9));
  border: 1px solid rgba(200, 164, 108, 0.5);
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(90, 45, 12, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.founder-intro-title {
  font-size: 22px;
  font-weight: 600;
  color: #5a2d0c;
  margin: 0 0 14px;
  text-align: center;
}

.founder-intro-text {
  font-size: 17px;
  line-height: 1.75;
  color: #4b2a12;
}

.founder-card {
  display: flex;
  align-items: center;
  gap: 36px;
  text-align: left;
  border: 2px solid #d4af37;
  border-radius: 12px;
  padding: 24px;
  background: rgba(255, 252, 245, 0.85);
  box-shadow: inset 0 0 0 1px rgba(184, 134, 11, 0.4), 0 12px 32px rgba(90, 45, 12, 0.1);
}

.founder-image-wrap {
  flex: 0 0 280px;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid #c8a46c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.founder-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.founder-image-placeholder {
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.15), rgba(212, 175, 55, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(90, 45, 12, 0.4);
}

.founder-info {
  flex: 1;
  min-width: 0;
}

.founder-name {
  font-size: 26px;
  font-weight: 700;
  color: #5a2d0c;
  margin: 0 0 6px;
  line-height: 1.3;
}

.founder-title {
  font-size: 15px;
  color: #8b6914;
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.founder-divider-inline {
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, #b8860b, #d4af37);
  margin: 0 0 20px;
}

.founder-message {
  font-size: 17px;
  color: #4b2a12;
  line-height: 1.75;
  margin: 0;
}

.founder-card-actions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(200, 164, 108, 0.35);
}

.founder-card-actions .btn-content-page {
  display: inline-block;
}

/* ============================================
   Our Objective - हमारा उद्देश्य (royal, temple-style)
   ============================================ */
.objectives-section {
  padding: 56px 0 48px;
  position: relative;
}

.objectives-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.objectives-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 36px;
  font-weight: 700;
  color: #5a2d0c;
  margin: 0 0 16px;
}

.objectives-ornament {
  width: 48px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

.objectives-ornament--left {
  background-image: url("left-arrow.png");
}

.objectives-ornament--right {
  background-image: url("right-arrow.png");
}

/* Ornate gold divider with center motif */
.objectives-divider--main,
.objectives-divider--bottom {
  width: 100%;
  max-width: 400px;
  height: 0;
  margin: 0 auto 32px;
  border: none;
  border-top: 2px solid #d4af37;
  border-bottom: 1px solid #b8860b;
  box-shadow: 0 1px 0 rgba(255,255,255,0.3);
  position: relative;
}

.objectives-divider--main::after,
.objectives-divider--bottom::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 30% 30%, #d4af37, #b8860b);
  border: 1px solid #b8860b;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

.objectives-divider--bottom {
  margin: 32px auto 0;
}

.objectives-actions {
  margin-top: 28px;
  text-align: center;
}

.objectives-actions .btn-content-page {
  display: inline-block;
}

/* Three cards */
.objectives-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.objective-card {
  background: #faf6ee;
  border: 2px solid #d4af37;
  box-shadow:
    inset 0 0 0 1px rgba(184, 134, 11, 0.6),
    0 8px 24px rgba(90, 45, 12, 0.12);
  border-radius: 8px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.objective-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px rgba(184, 134, 11, 0.6),
    0 12px 32px rgba(90, 45, 12, 0.18);
}

.objective-card-inner {
  background: #faf6ee;
  border-radius: 6px;
  padding: 28px 20px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.objective-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 15px;
  display: block;
}

.objective-title {
  font-size: 20px;
  font-weight: 700;
  color: #5a2d0c;
  margin: 0 0 12px;
  line-height: 1.3;
}

/* Small gold divider under card title */
.objective-card-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, #b8860b, #d4af37, #b8860b);
  margin: 0 auto 16px;
  position: relative;
}

.objective-card-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #d4af37;
  border: 1px solid #b8860b;
  border-radius: 50%;
}

.objective-desc {
  font-size: 16px;
  color: #4b2a12;
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

/* ============================================
   Content sections (श्रौत, अग्निहोत्र, उद्देश्य पूर्ण)
   ============================================ */
.content-section {
  padding: 48px 0 40px;
}

.content-container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.content-heading {
  font-size: 32px;
  font-weight: 700;
  color: #5a2d0c;
  margin: 0 0 12px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.content-divider {
  width: 100%;
  max-width: 320px;
  height: 0;
  margin: 0 auto 24px;
  border: none;
  border-top: 2px solid #d4af37;
  border-bottom: 1px solid #b8860b;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* YouTube video section (home page) */
.youtube-section {
  padding: 48px 0 56px;
}

.youtube-container {
  max-width: 900px;
  margin: 0 auto;
}

.youtube-description {
  font-size: 17px;
  line-height: 1.65;
  color: #4b2a12;
  margin: 0 auto 24px;
  max-width: 640px;
  text-align: center;
}

.youtube-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(90, 45, 12, 0.15);
  border: 1px solid rgba(200, 164, 108, 0.4);
}

.youtube-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.youtube-grid-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.youtube-item-title {
  font-size: 18px;
  font-weight: 600;
  color: #5a2d0c;
  margin: 0;
}

.youtube-item-desc {
  font-size: 15px;
  line-height: 1.55;
  color: #4b2a12;
  margin: 0;
}

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

@media (max-width: 768px) {
  .youtube-section {
    padding: 36px 0 44px;
  }
  .youtube-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .youtube-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.content-subheading {
  font-size: 22px;
  font-weight: 600;
  color: #5a2d0c;
  margin: 28px 0 12px;
}

.content-subheading:first-of-type {
  margin-top: 0;
}

.content-body {
  text-align: left;
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 28px;
  background: linear-gradient(to bottom, rgba(255, 252, 248, 0.95), rgba(255, 250, 240, 0.9));
  border: 1px solid rgba(200, 164, 108, 0.5);
  border-radius: 12px;
  font-size: 17px;
  line-height: 1.75;
  color: #4b2a12;
  box-shadow: 0 4px 20px rgba(90, 45, 12, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.content-body p {
  margin-bottom: 1em;
}

.content-body p:last-child {
  margin-bottom: 0;
}

.content-body--shloka {
  font-size: 16px;
  line-height: 1.85;
  padding: 22px 26px;
}

.content-body--objectives {
  white-space: pre-line;
  font-size: 16px;
  line-height: 1.8;
  padding: 26px 30px;
}

/* Unified container: श्रौत + अग्निहोत्र (what is) in one box */
.content-body--unified {
  padding: 0;
  overflow: hidden;
}

.content-block {
  padding: 24px 28px;
}

.content-block:first-child {
  padding-top: 26px;
}

.content-block:last-child {
  padding-bottom: 26px;
}

.content-block-title {
  font-size: 20px;
  font-weight: 700;
  color: #5a2d0c;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200, 164, 108, 0.35);
  letter-spacing: 0.02em;
}

.content-block-text {
  font-size: 17px;
  line-height: 1.78;
  color: #4b2a12;
}

.content-block-text p {
  margin-bottom: 0.85em;
}

.content-block-text p:last-child {
  margin-bottom: 0;
}

.content-block-divider {
  height: 0;
  margin: 0 28px;
  border: none;
  border-top: 2px solid rgba(212, 175, 55, 0.5);
  border-bottom: 1px solid rgba(184, 134, 11, 0.25);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.content-block-actions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(200, 164, 108, 0.3);
}

.btn-content-page {
  display: inline-block;
  padding: 12px 22px;
  background: linear-gradient(135deg, #8b2e00, #b34700);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 3px 12px rgba(139, 46, 0, 0.25);
  transition: opacity 0.2s, box-shadow 0.2s;
}

.btn-content-page:hover {
  opacity: 0.95;
  box-shadow: 0 4px 16px rgba(139, 46, 0, 0.35);
}

.content-subheading--spaced {
  margin-top: 32px;
}

.page-main {
  min-height: 40vh;
}

/* Detail page: image + content section (guru / chairman) */
.detail-intro-section {
  padding: 48px 0 56px;
}

.detail-intro-section .content-heading {
  margin-bottom: 24px;
}

.detail-intro-container {
  max-width: 1000px;
}

.detail-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  align-items: start;
  margin: 0 auto;
  text-align: left;
  padding: 2rem;
  background: rgba(255, 252, 248, 0.7);
  border-radius: 16px;
  border: 1px solid rgba(184, 134, 11, 0.25);
  box-shadow: 0 4px 24px rgba(90, 45, 12, 0.06);
}

.detail-intro-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #c8a46c;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.detail-intro-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-intro-caption {
  padding: 14px 18px;
  background: linear-gradient(180deg, #5a2d0c 0%, #3d1e08 100%);
  color: #f5ecd8;
  font-size: 0.95rem;
  text-align: center;
}

.detail-intro-caption strong {
  display: block;
  margin-bottom: 4px;
}

.detail-intro-caption span {
  font-size: 0.9rem;
  opacity: 0.95;
}

.detail-intro-content.content-body--text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4b2a12;
}

.detail-intro-content {
  text-align: left;
}

/* Detail page: image grid (चित्र दीर्घा) */
.detail-gallery-section {
  padding: 48px 0 56px;
  border-top: 1px solid rgba(184, 134, 11, 0.2);
}

.detail-gallery-section .content-heading {
  margin-bottom: 28px;
}

.detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.detail-gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(184, 134, 11, 0.35);
  background: #fff;
  box-shadow: 0 4px 20px rgba(90, 45, 12, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.detail-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(90, 45, 12, 0.12);
}

.detail-gallery-item img {
  width: 600px;
  height: 440px;
  object-fit: cover;
  display: block;
}

.detail-gallery-item figcaption {
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #4b2a12;
  line-height: 1.5;
  background: rgba(255, 252, 245, 0.8);
}

@media (max-width: 768px) {
  .detail-intro-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .detail-intro-image {
    max-width: 320px;
    margin: 0 auto;
  }

  .detail-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .detail-gallery-item img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .detail-intro-section,
  .detail-gallery-section {
    padding: 32px 0 40px;
  }

  .detail-intro-grid {
    padding: 1.25rem;
  }

  .detail-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .detail-gallery-item img {
    height: 220px;
  }
}

.content-empty {
  font-size: 18px;
  color: #6b5b4f;
  text-align: center;
  padding: 2rem;
}

.main-header-link {
  color: inherit;
  text-decoration: none;
}

.main-header-link:hover {
  opacity: 0.9;
}

.navbar a.nav-active {
  color: #8b2e00;
  font-weight: 600;
}

/* ============================================
   Donation page
   ============================================ */
.donation-page-section {
  padding: 48px 0 56px;
}

.donation-container {
  max-width: 920px;
}

.donation-intro {
  font-size: 18px;
  line-height: 1.7;
  color: #4b2a12;
  text-align: center;
  margin: 0 auto 32px;
  max-width: 640px;
}

/* Three donation packages */
.donation-packages-heading {
  font-size: 22px;
  font-weight: 700;
  color: #5a2d0c;
  margin: 32px 0 20px;
  text-align: center;
}

.donation-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .donation-packages-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
}

.donation-package-card {
  background: linear-gradient(to bottom, rgba(255, 252, 248, 0.98), rgba(255, 250, 240, 0.95));
  border: 1px solid rgba(200, 164, 108, 0.5);
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(90, 45, 12, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.donation-package-inner {
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.donation-package-title {
  font-size: 18px;
  font-weight: 700;
  color: #5a2d0c;
  margin: 0 0 12px;
  line-height: 1.3;
}

.donation-package-amount {
  font-size: 24px;
  font-weight: 700;
  color: #8b2e00;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}

.donation-package-desc {
  font-size: 15px;
  color: #4b2a12;
  line-height: 1.6;
  margin: 0 0 20px;
  flex: 1;
}

.donation-package-btn {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(135deg, #8b2e00, #b34700);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 28px;
  box-shadow: 0 2px 10px rgba(139, 46, 0, 0.25);
  transition: opacity 0.2s, box-shadow 0.2s;
}

.donation-package-btn:hover {
  opacity: 0.95;
  box-shadow: 0 4px 14px rgba(139, 46, 0, 0.35);
}

.donation-divider {
  height: 0;
  margin: 0 0 8px;
}

.trust-donation-heading {
  margin-top: 48px;
}

.trust-donation-intro {
  text-align: center;
  font-size: 17px;
  color: #4b2a12;
  margin: 0 auto 24px;
  max-width: 560px;
}

/* Bank + QR grid — balanced symmetry */
.donation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 24px;
}

.donation-grid--balanced {
  align-items: stretch;
}

.donation-grid--balanced .donation-card--equal {
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.donation-grid--balanced .donation-bank-card {
  justify-content: flex-start;
}

.donation-grid--balanced .donation-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .donation-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .donation-grid--balanced .donation-card--equal {
    min-height: 0;
  }
}

.donation-card {
  background: linear-gradient(to bottom, rgba(255, 252, 248, 0.98), rgba(255, 250, 240, 0.95));
  border: 1px solid rgba(200, 164, 108, 0.5);
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: 0 4px 20px rgba(90, 45, 12, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.donation-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #5a2d0c;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.5);
  text-align: center;
}

.donation-bank-details {
  margin: 0;
}

.donation-bank-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px 20px;
  margin-bottom: 14px;
  align-items: baseline;
}

.donation-bank-row:last-child {
  margin-bottom: 0;
}

.donation-bank-row dt {
  font-size: 14px;
  font-weight: 600;
  color: #6b5b4f;
  margin: 0;
}

.donation-bank-row dd {
  font-size: 17px;
  color: #4b2a12;
  margin: 0;
  line-height: 1.5;
  word-break: break-word;
}

@media (max-width: 480px) {
  .donation-bank-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.donation-qr-card {
  text-align: center;
}

.donation-qr-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  display: inline-block;
  border: 1px solid rgba(200, 164, 108, 0.4);
  margin-bottom: 12px;
}

.donation-qr-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  display: block;
}

.donation-qr-hint {
  font-size: 14px;
  color: #6b5b4f;
  margin: 0;
}

/* ============================================
   Contact page
   ============================================ */
/* Custom page (admin-created content) */
.custom-page-section {
  padding: 48px 0 56px;
}

.custom-page-container {
  max-width: 800px;
  margin: 0 auto;
}

.custom-page-content {
  font-size: 18px;
  line-height: 1.75;
  color: #4b2a12;
}

.custom-page-content h2 {
  font-size: 22px;
  margin: 1.5em 0 0.5em;
  color: #5a2d0c;
}

.custom-page-content h2:first-child {
  margin-top: 0;
}

.custom-page-content h3 {
  font-size: 20px;
  margin: 1.25em 0 0.5em;
  color: #5a2d0c;
}

.custom-page-content p {
  margin: 0 0 1em;
}

.custom-page-content ul,
.custom-page-content ol {
  margin: 0 0 1em 1.5em;
  padding: 0;
}

.custom-page-content li {
  margin-bottom: 0.35em;
}

.custom-page-content a {
  color: #8b2e00;
  text-decoration: none;
}

.custom-page-content a:hover {
  text-decoration: underline;
}

.custom-page-content blockquote {
  margin: 1em 0;
  padding: 0.5em 1em;
  border-left: 4px solid #c8a46c;
  background: rgba(200, 164, 108, 0.1);
  border-radius: 0 8px 8px 0;
}

.custom-page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(90, 45, 12, 0.12);
  margin: 1em 0;
}

.contact-page-section {
  padding: 48px 0 56px;
}

.contact-container {
  max-width: 640px;
  margin: 0 auto;
}

.contact-intro {
  font-size: 18px;
  line-height: 1.7;
  color: #4b2a12;
  text-align: center;
  margin: 0 auto 28px;
}

.contact-card {
  background: linear-gradient(to bottom, rgba(255, 252, 248, 0.98), rgba(255, 250, 240, 0.95));
  border: 1px solid rgba(200, 164, 108, 0.5);
  border-radius: 14px;
  padding: 28px 30px;
  box-shadow: 0 4px 20px rgba(90, 45, 12, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.contact-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #5a2d0c;
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.5);
  text-align: center;
}

.contact-details-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px 20px;
  margin-bottom: 18px;
  align-items: start;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item--address .contact-value {
  white-space: pre-line;
}

.contact-label {
  font-size: 15px;
  font-weight: 600;
  color: #6b5b4f;
}

.contact-value {
  font-size: 17px;
  color: #4b2a12;
  line-height: 1.6;
}

.contact-value a {
  color: #8b2e00;
  text-decoration: none;
}

.contact-value a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .contact-item {
    grid-template-columns: 1fr;
    gap: 4px;
    margin-bottom: 20px;
  }
}

/* ============================================
   Donate floating button (FAB) - bottom left
   ============================================ */
.donate-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: #8b2e00;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-family: "Noto Serif Devanagari", serif;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(139, 46, 0, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.donate-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 22px rgba(139, 46, 0, 0.45);
  color: #fff;
}

@media (max-width: 480px) {
  .donate-fab {
    bottom: 16px;
    left: 16px;
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* ============================================
   WhatsApp floating button (FAB) - bottom right
   ============================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-fab-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.whatsapp-fab-label {
  font-family: "Noto Serif Devanagari", serif;
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 480px) {
  .whatsapp-fab {
    bottom: 16px;
    right: 16px;
    padding: 12px 16px;
  }
  .whatsapp-fab-label {
    font-size: 14px;
  }
  .whatsapp-fab-icon {
    width: 24px;
    height: 24px;
  }
}

/* ============================================
   Trust Members - न्यास सदस्य
   ============================================ */
.members-section {
  padding: 56px 0 48px;
  position: relative;
}

.members-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.members-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 36px;
  font-weight: 700;
  color: #5a2d0c;
  margin: 0 0 16px;
}

.members-ornament {
  width: 48px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

.members-ornament--left {
  background-image: url("left-arrow.png");
}

.members-ornament--right {
  background-image: url("right-arrow.png");
}

.members-divider {
  width: 100%;
  max-width: 400px;
  height: 0;
  margin: 0 auto 32px;
  border: none;
  border-top: 2px solid #d4af37;
  border-bottom: 1px solid #b8860b;
  box-shadow: 0 1px 0 rgba(255,255,255,0.3);
  position: relative;
}

.members-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 30% 30%, #d4af37, #b8860b);
  border: 1px solid #b8860b;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

.members-divider--bottom {
  margin: 32px auto 0;
}

.members-divider--bottom::after {
  display: none;
}

.members-divider--mid {
  margin: 28px auto 24px;
}

.members-intro {
  font-size: 15px;
  color: #6b4a2a;
  margin: 0 auto 24px;
  max-width: 560px;
  line-height: 1.6;
}

.members-subheading {
  font-size: 22px;
  font-weight: 700;
  color: #6b3a1a;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.members-group-desc {
  font-size: 0.85em;
  font-weight: 500;
  color: #8b6914;
}

.members-group {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.member-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  padding: 16px 20px;
  background: rgba(255, 252, 245, 0.6);
  border: 1px solid rgba(200, 164, 108, 0.5);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(90, 45, 12, 0.06);
}

.member-row-photo {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(200, 164, 108, 0.25);
  border: 1px solid rgba(184, 134, 11, 0.35);
}

.member-row-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-row-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #c8a46c;
}

.member-row-info {
  flex: 1;
  min-width: 0;
}

.member-row-designation {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #8b6914;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.member-row-name {
  font-size: 18px;
  font-weight: 700;
  color: #5a2d0c;
  margin: 0 0 8px;
  line-height: 1.35;
}

.member-row-desc {
  font-size: 14px;
  color: #4b2a12;
  line-height: 1.65;
  margin: 0;
}

.members-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.member-card {
  background: #faf6ee;
  border: 2px solid #d4af37;
  box-shadow: inset 0 0 0 1px rgba(184, 134, 11, 0.6), 0 8px 24px rgba(90, 45, 12, 0.12);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(184, 134, 11, 0.6), 0 12px 32px rgba(90, 45, 12, 0.18);
}

.member-card-inner {
  padding: 0 0 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.member-image-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(200, 164, 108, 0.2);
  margin-bottom: 16px;
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #c8a46c;
}

.member-name {
  font-size: 20px;
  font-weight: 700;
  color: #5a2d0c;
  margin: 0 0 6px;
  line-height: 1.3;
  padding: 0 16px;
}

.member-title {
  font-size: 14px;
  color: #8b6914;
  font-weight: 600;
  margin: 0 0 12px;
  padding: 0 16px;
}

.member-desc {
  font-size: 14px;
  color: #4b2a12;
  line-height: 1.6;
  margin: 0;
  padding: 0 16px;
  flex: 1;
}

/* ============================================
   Footer - Logo, links, address & contact
   ============================================ */
.site-footer {
  background: linear-gradient(180deg, #2d1810 0%, #1a0f0a 100%);
  color: #e8dcc4;
  padding: 40px 0 0;
  margin-top: 0;
  border-top: 2px solid #b8860b;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 48px;
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 28px;
}

.footer-col {
  flex: 0 1 220px;
  min-width: 0;
  text-align: center;
}

.footer-about {
  max-width: 320px;
  text-align: center;
}

.footer-logo {
  display: block;
  max-height: 72px;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
  object-fit: contain;
}

.footer-logo-placeholder {
  width: 56px;
  height: 56px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
  margin-bottom: 16px;
}

.footer-trust-name {
  font-size: 18px;
  font-weight: 700;
  color: #f0e6d8;
  margin: 0 0 8px;
  line-height: 1.35;
}

.footer-about-text {
  font-size: 14px;
  line-height: 1.65;
  color: #c9b896;
  margin: 0;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: #d4af37;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #e8dcc4;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  color: #d4af37;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.footer-contact-list li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #c9b896;
  line-height: 1.5;
}

.footer-contact-list li a {
  color: #e8dcc4;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-list li a:hover {
  color: #d4af37;
}

.footer-address {
  white-space: pre-line;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding: 16px 20px 20px;
  text-align: center;
}

.footer-copyright {
  font-size: 13px;
  color: #8b7355;
  margin: 0;
}

/* ============================================
   Fully mobile responsive
   ============================================ */

/* Tablet and below */
@media (max-width: 992px) {
  .top-strip .container {
    width: 94%;
  }

  .about-container {
    width: 92%;
  }

  .objectives-container {
    width: 92%;
  }

  .members-section {
    padding: 48px 0 40px;
  }

  .members-container {
    width: 92%;
  }

  .members-heading {
    font-size: 28px;
    gap: 16px;
  }

  .members-subheading {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .members-group {
    gap: 16px;
  }

  .member-row {
    padding: 14px 16px;
    gap: 16px;
  }

  .member-row-photo {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
  }

  .member-row-name {
    font-size: 17px;
  }

  .member-row-desc {
    font-size: 13px;
  }

  .members-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-container {
    width: 94%;
    gap: 28px 20px;
    padding-bottom: 20px;
  }

  .footer-about {
    max-width: 100%;
  }

  .objectives-cards {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }

  .top-strip {
    padding: 8px 0;
    font-size: 13px;
  }

  .top-strip .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    width: 92%;
    padding: 0 16px;
  }

  .top-strip .container .top-strip-text {
    flex: none;
    width: 100%;
  }

  .top-strip-text,
  .top-strip span {
    line-height: 1.5;
    text-align: center;
  }

  .donate-btn {
    min-height: 40px;
    padding: 8px 20px;
    min-width: 120px;
  }

  .main-header {
    font-size: 16px;
    padding: 12px 16px;
    line-height: 1.35;
  }

  .main-header h1 {
    word-wrap: break-word;
  }

  .navbar {
    padding: 8px 0;
  }

  .navbar ul {
    gap: 10px 18px;
    padding: 0 12px;
    justify-content: center;
  }

  .navbar a {
    font-size: 15px;
    padding: 2px 0;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .hero {
    height: auto;
    min-height: 360px;
    padding: 36px 16px;
  }

  .hero .overlay {
    padding: 16px 12px;
    width: 100%;
  }

  .overlay h2 {
    font-size: 26px;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .overlay p {
    font-size: 17px;
    margin-bottom: 24px;
    line-height: 1.45;
  }

  .hero-buttons {
    gap: 12px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 20px;
    min-height: 48px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .about-section {
    padding: 50px 0 50px;
  }

  .about-container {
    width: 92%;
    padding: 0 12px;
  }

  .about-heading {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .about-divider--top {
    margin-bottom: 28px;
  }

  .about-divider--bottom {
    margin-top: 28px;
  }

  .about-frame {
    padding: 20px 16px;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .about-image img {
    max-width: 100%;
    margin: 0 auto;
    min-height: 200px;
  }

  .about-text {
    font-size: 17px;
    padding: 0 4px;
    align-items: center;
  }

  .about-quote {
    font-size: 16px;
    text-align: left;
    border-left: none;
    padding: 0;
  }

  .read-more-btn {
    margin-top: 20px;
    align-self: center;
    padding: 12px 24px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .founder-section {
    padding: 40px 0 40px;
  }

  .founder-container {
    width: 92%;
    padding: 0 12px;
  }

  .founder-heading {
    font-size: 26px;
    gap: 12px;
    margin-bottom: 16px;
  }

  .founder-ornament {
    width: 36px;
    height: 22px;
  }

  .founder-divider {
    margin-bottom: 28px;
  }

  .founder-divider--bottom {
    margin-top: 28px;
  }

  .founder-card {
    flex-direction: column;
    text-align: center;
    gap: 28px;
    padding: 24px 20px;
  }

  .founder-image-wrap {
    flex: none;
    max-width: 260px;
    margin: 0 auto;
  }

  .founder-image {
    height: 280px;
  }

  .founder-info {
    align-items: center;
  }

  .founder-name {
    font-size: 22px;
    text-align: center;
  }

  .founder-title {
    text-align: center;
    font-size: 14px;
  }

  .founder-divider-inline {
    margin-left: auto;
    margin-right: auto;
  }

  .founder-message {
    font-size: 16px;
    text-align: center;
  }

  .site-footer {
    padding: 36px 0 0;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    padding-bottom: 16px;
    gap: 20px;
  }

  .footer-col {
    text-align: center;
  }

  .footer-links ul,
  .footer-contact-list {
    padding-left: 0;
  }

  .objectives-section {
    padding: 40px 0 32px;
  }

  .members-section {
    padding: 40px 0 36px;
  }

  .members-container {
    width: 92%;
    padding: 0 12px;
  }

  .members-heading {
    font-size: 26px;
    gap: 12px;
    margin-bottom: 14px;
  }

  .members-ornament {
    width: 36px;
    height: 22px;
  }

  .members-divider {
    margin-bottom: 24px;
  }

  .members-divider--bottom {
    margin-top: 24px;
  }

  .members-cards {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
  }

  .member-name {
    font-size: 18px;
  }

  .member-title {
    font-size: 13px;
  }

  .member-desc {
    font-size: 13px;
  }

  .objectives-container {
    width: 92%;
    padding: 0 12px;
  }

  .objectives-heading {
    font-size: 26px;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 16px;
  }

  .objectives-ornament {
    width: 36px;
    height: 22px;
  }

  .objectives-divider--main {
    margin-bottom: 36px;
  }

  .objectives-divider--bottom {
    margin-top: 36px;
  }

  .objectives-cards {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .objective-card-inner {
    padding: 24px 20px 28px;
  }

  .objective-icon {
    font-size: 2.25rem;
    margin-bottom: 12px;
  }

  .objective-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .objective-card-divider {
    margin-bottom: 14px;
  }

  .objective-desc {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* Small phones */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .top-strip {
    font-size: 12px;
    padding: 10px 0;
  }

  .top-strip .container {
    width: 100%;
    padding: 0 14px;
    gap: 8px;
  }

  .top-strip-text,
  .top-strip span {
    line-height: 1.55;
    word-break: break-word;
  }

  .donate-btn {
    width: 100%;
    max-width: 200px;
    min-height: 40px;
  }

  .main-header {
    font-size: 18px;
    padding: 10px 12px;
  }

  .navbar ul {
    gap: 10px 16px;
    padding: 0 8px;
  }

  .navbar a {
    font-size: 14px;
  }

  .hero {
    min-height: 320px;
    padding: 28px 12px;
  }

  .overlay h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .overlay p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .hero-motto {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .content-section {
    padding: 28px 0 24px;
  }

  .content-heading {
    font-size: 22px;
  }

  .content-body {
    padding: 14px 16px;
    font-size: 14px;
  }

  .content-body--unified {
    padding: 0;
  }

  .content-block {
    padding: 18px 16px;
  }

  .content-block-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .content-block-text {
    font-size: 15px;
  }

  .content-block-divider {
    margin: 0 16px;
  }

  .founder-intro-block {
    padding: 14px 16px;
  }

  .founder-intro-title {
    font-size: 17px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 14px 20px;
  }

  .about-section {
    padding: 32px 0 32px;
  }

  .about-container {
    width: 100%;
    padding: 0 16px;
  }

  .about-heading {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .about-divider--top {
    margin-bottom: 20px;
  }

  .about-divider--bottom {
    margin-top: 20px;
  }

  .about-frame {
    padding: 16px 12px;
  }

  .about-content {
    gap: 24px;
  }

  .about-text {
    font-size: 16px;
  }

  .about-quote {
    font-size: 15px;
  }

  .members-section {
    padding: 32px 0 28px;
  }

  .members-container {
    width: 100%;
    padding: 0 16px;
  }

  .members-heading {
    font-size: 22px;
    gap: 8px;
    margin-bottom: 12px;
  }

  .members-subheading {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .members-intro {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .members-group {
    gap: 14px;
  }

  .member-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 14px;
    gap: 12px;
  }

  .member-row-photo {
    flex: none;
    width: 72px;
    height: 72px;
  }

  .member-row-designation {
    font-size: 12px;
  }

  .member-row-name {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .member-row-desc {
    font-size: 13px;
  }

  .members-ornament {
    width: 28px;
    height: 18px;
  }

  .members-divider {
    margin-bottom: 20px;
  }

  .members-divider--mid {
    margin: 20px auto 18px;
  }

  .members-divider--bottom {
    margin-top: 20px;
  }

  .members-cards {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    gap: 18px;
  }

  .member-name {
    font-size: 17px;
  }

  .member-title {
    font-size: 13px;
  }

  .member-desc {
    font-size: 13px;
  }

  .site-footer {
    padding: 28px 0 0;
  }

  .footer-container {
    width: 100%;
    padding: 0 16px 10px;
    gap: 18px;
  }

  .footer-trust-name {
    font-size: 16px;
  }

  .footer-about-text,
  .footer-contact-list li {
    font-size: 14px;
  }

  .footer-heading {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .footer-bottom {
    padding: 12px 16px 16px;
  }

  .footer-copyright {
    font-size: 12px;
  }

  .founder-section {
    padding: 36px 0 36px;
  }

  .founder-container {
    width: 100%;
    padding: 0 16px;
  }

  .founder-heading {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .founder-divider {
    margin-bottom: 20px;
  }

  .founder-divider--bottom {
    margin-top: 20px;
  }

  .founder-card {
    padding: 20px 16px;
    gap: 24px;
  }

  .founder-image-wrap {
    max-width: 220px;
  }

  .founder-image {
    height: 260px;
  }

  .founder-name {
    font-size: 20px;
  }

  .founder-title {
    font-size: 13px;
  }

  .founder-message {
    font-size: 15px;
  }

  .objectives-section {
    padding: 36px 0 28px;
  }

  .objectives-container {
    width: 100%;
    padding: 0 16px;
  }

  .objectives-heading {
    font-size: 22px;
    gap: 8px;
    margin-bottom: 14px;
  }

  .objectives-ornament {
    width: 28px;
    height: 18px;
  }

  .objectives-divider--main {
    margin-bottom: 28px;
  }

  .objectives-divider--bottom {
    margin-top: 28px;
  }

  .objectives-cards {
    gap: 20px;
    max-width: none;
    padding: 0 4px;
  }

  .objective-card-inner {
    padding: 20px 16px 24px;
  }

  .objective-icon {
    font-size: 2rem;
  }

  .objective-title {
    font-size: 17px;
  }

  .objective-desc {
    font-size: 14px;
  }
}

/* Very small screens - prevent overflow */
@media (max-width: 360px) {
  .main-header h1 {
    font-size: 16px;
  }

  .overlay h2 {
    font-size: 20px;
  }

  .objectives-heading {
    font-size: 20px;
  }

  .members-heading {
    font-size: 20px;
  }

  .member-name {
    font-size: 16px;
  }

  .footer-trust-name {
    font-size: 15px;
  }

  .footer-about-text {
    font-size: 13px;
  }
}
