@import url('https://fonts.googleapis.com/css2?family=Yatra+One&family=Noto+Sans+Devanagari:wght@400;600;700&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ---- Profile Cards (talent pages) ---- */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-top: 1.2rem;
}
.profile-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(255,152,0,0.13);
  padding: 1.2rem 1rem;
  text-align: center;
  border-top: 4px solid #ff9800;
}
.profile-img {
  width: 120px; height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ff9800;
  margin-bottom: 0.7rem;
}
.profile-card h3 { color: #b71c1c; margin-bottom: 0.4rem; }
.profile-card p  { font-size: 0.93rem; margin: 0.2rem 0; color: #444; }

/* ---- Gallery Grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}
.gallery-photo-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: contain;
  background: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.gallery-item img:hover { transform: scale(1.03); }
.gallery-caption { font-size: 0.85rem; color: #666; text-align: center; margin-top: 0.3rem; }
.gallery-caption span { display: block; color: #8a4b24; font-size: 0.78rem; margin-top: 0.2rem; }
.gallery-filters, .gallery-toolbar { display: flex; align-items: end; gap: 0.8rem; flex-wrap: wrap; margin: 1rem 0; }
.gallery-filters label { display: grid; gap: 0.3rem; color: #633; font-weight: 700; }
.gallery-filters select, .gallery-filter-button, .gallery-viewer-controls button {
  min-height: 2.6rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid #dd9e38;
  border-radius: 7px;
  background: #fff;
  color: #633;
  font: inherit;
}
.gallery-filter-button, .gallery-viewer-controls button { background: #7b1c1c; color: #fff; cursor: pointer; }
.gallery-filter-button:hover, .gallery-viewer-controls button:hover { background: #a62d20; }
.gallery-reset { padding-bottom: 0.65rem; color: #7b1c1c; }
.gallery-toolbar { justify-content: space-between; align-items: center; }
.gallery-toolbar p, .gallery-empty { margin: 0; color: #666; }
.gallery-photo-button:focus-visible, .gallery-filter-button:focus-visible, .gallery-viewer button:focus-visible {
  outline: 3px solid #ff9800;
  outline-offset: 3px;
}
.gallery-viewer-open { overflow: hidden; }
.gallery-viewer[hidden] { display: none; }
.gallery-viewer {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(3rem, 1fr) minmax(0, 5fr) minmax(3rem, 1fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 3.5rem 1rem 1rem;
  background: rgba(14, 17, 20, 0.96);
  color: #fff;
}
.gallery-viewer-close {
  position: absolute;
  top: 0.7rem;
  right: 1rem;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  background: transparent;
  color: white;
  font-size: 2.2rem;
  cursor: pointer;
}
.gallery-viewer-figure { grid-column: 2; grid-row: 1; margin: 0; text-align: center; min-width: 0; }
.gallery-viewer-figure img { display: block; max-width: 100%; max-height: calc(100vh - 9rem); width: auto; height: auto; margin: auto; object-fit: contain; }
.gallery-viewer-figure figcaption { margin-top: 0.6rem; color: #eee; }
.gallery-viewer-nav { grid-row: 1; justify-self: center; border: 0; background: transparent; color: white; font-size: 3rem; cursor: pointer; }
.gallery-viewer-prev { grid-column: 1; }
.gallery-viewer-next { grid-column: 3; }
.gallery-viewer-controls { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: center; align-items: center; gap: 1rem; }
.puja-step-paragraph {
  margin: 0.65rem 0 0;
  font-size: 1.05rem;
  line-height: 1.8;
  white-space: normal;
}
@media (max-width: 540px) {
  .gallery-viewer { grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem; padding-inline: 0.3rem; }
  .gallery-viewer-nav { font-size: 2.2rem; }
}

/* Footer box styling for alignment and centering */
.footer-box {
  background: #ffe0b2;
  border-radius: 20px;
  padding: 2rem 1rem 1.2rem 1rem;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 4px 24px rgba(255, 152, 0, 0.10), 0 1.5px 8px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1100px;
}
.footer-box nav ul {
  display: flex;
  justify-content: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0.8rem;
}
.footer-box nav ul li {
  list-style: none;
  margin: 0;
}
.footer-box nav a {
  color: #dc143c;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.28rem 0.9rem;
  line-height: 1.2;
  border-radius: 10px;
  transition: background 0.2s;
}
.footer-box nav a:hover {
  background: #ffd54f;
}
.footer-box p {
  color: #dc143c;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
}
/* Simple footer nav styling (clean, minimal) */
.footer-box .footer-nav ul {
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0 0 0.6rem 0;
  display: flex;
}
.footer-box .footer-nav ul li {
  list-style: none;
  margin: 0;
}
.footer-box .footer-nav ul li:not(:last-child)::after {
  content: "|";
  margin: 0 0.5rem;
  color: #b71c1c;
  opacity: 0.7;
}
.footer-box .footer-nav a {
  background: transparent;
  color: #b71c1c;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-decoration: none;
}
.footer-box .footer-nav a:hover {
  text-decoration: underline;
  color: #e53935;
}
/* Generic container for centering and max-width */
.container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
@media (max-width: 700px) {
  /* ...existing code... */
  .hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 40vh;
  width: 100%;
  padding: 2rem 0.5rem 2rem 0.5rem;
  margin: 0 auto;
  box-sizing: border-box;
  }
  /* ...existing code... */
  /* Footer adjustments for small screens */
  .footer-box nav ul {
    gap: 0.6rem 1rem;
    margin-bottom: 0.6rem;
  }
  .footer-box nav a {
    font-size: 0.95rem;
    padding: 0.25rem 0.6rem;
  }
  .footer-box p {
    font-size: 0.95rem;
  }
}

/* Shared site chrome */
.site-header-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #7b1c1c;
  text-decoration: none;
  text-align: left;
}
.site-brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 2px solid rgba(123, 28, 28, 0.45);
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  font-family: 'Yatra One', cursive;
  font-size: 1rem;
  font-weight: 700;
}
.site-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.site-brand-copy strong { font-size: 1.15rem; }
.site-brand-copy small {
  margin-top: 0.25rem;
  color: #8f3b22;
  font-size: 0.72rem;
  font-weight: 600;
}
.menu-toggle {
  margin: 0 0 0 auto;
  min-width: 2.6rem;
  min-height: 2.4rem;
  padding: 0.35rem 0.5rem;
}
.site-brand:focus-visible,
.menu-toggle:focus-visible,
.nav-close:focus-visible,
.main-nav a:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid #7b1c1c;
  outline-offset: 3px;
}
.site-footer { margin-top: 4rem; }
.site-footer .footer-grid { align-items: start; }
.site-footer .footer-col ul li a { border-radius: 5px; padding: 0.2rem 0.35rem; }
.site-footer .footer-col ul li a:hover { background: rgba(255,213,79,0.1); }
.site-footer .footer-bottom { border-top: 0; }
@media (max-width: 540px) {
  .site-header-bar { width: calc(100% - 1.2rem); }
  .site-brand-mark { width: 2.4rem; height: 2.4rem; }
  .site-brand-copy strong { font-size: 0.98rem; }
  .site-brand-copy small { font-size: 0.64rem; }
  .site-footer { margin-top: 2.5rem; }
  .site-footer .footer-bottom { text-align: center; justify-content: center; }
}
@media (max-width: 480px) {
  /* ...existing code... */
  .hero {
  padding: 1rem 0.1rem 1.5rem 0.1rem;
  min-height: 20vh;
    width: calc(100% - 0.4rem);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  /* ...existing code... */
}

/* Hamburger button — always visible */
.menu-toggle {
  display: block;
  background: rgba(255,255,255,0.25);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 10px;
  cursor: pointer;
  padding: 0.5rem 0.7rem;
  margin: 0.5rem auto 0 auto;
  transition: background 0.2s;
  position: relative;
  z-index: 210;
}
.menu-toggle:hover {
  background: rgba(255,255,255,0.45);
}
.menu-toggle .bar {
  display: block;
  width: 26px;
  height: 3px;
  background: #7b1f1f;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Dark backdrop shown behind the slide-in menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,20,0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 190;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Nav: slide-in drawer from the right */
.main-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: min(230px, 100vw);
  height: 100vh;
  height: 100dvh;
  z-index: 200;
  background: #fffaf2;
  border-left: 1px solid rgba(123, 28, 28, 0.18);
  box-shadow: -8px 0 24px rgba(74, 0, 0, 0.16);
  clip-path: inset(0 0 0 100%);
  visibility: hidden;
  transition: clip-path 0.35s cubic-bezier(0.4,0,0.2,1), visibility 0.35s;
  overflow: hidden;
}
.main-nav.open {
  clip-path: inset(0);
  visibility: visible;
}
.main-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid rgba(123, 28, 28, 0.14);
  color: #7b1c1c;
  font-weight: 700;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}
.nav-close {
  background: transparent;
  border: none;
  color: #7b1c1c;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.3rem;
  transition: color 0.2s;
}
.nav-close:hover { color: #ff9800; }
.main-nav ul {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  flex-wrap: nowrap;
  justify-content: flex-start;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  gap: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  border: none;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.main-nav ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.68rem 1rem;
  color: #7b1c1c;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border-left: 0;
  transform-origin: left center;
  transition: background 0.2s, color 0.2s, transform 0.2s ease;
  text-shadow: none;
}
.main-nav ul li a::before {
  content: '•';
  color: #7b1c1c;
  font-weight: 700;
}
.main-nav ul li a:hover {
  background: transparent;
  color: #dc143c;
  text-decoration: underline;
  transform: scale(1.08);
}

/* Animated X when open */
.menu-toggle.open .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; }
.menu-toggle.open .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Header responsive rules: improve layout on small screens */
@media (max-width: 700px) {
  header {
    padding: 1.2rem 0 1rem 0;
  }
  header h1 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    padding: 0 1rem;
    word-break: break-word;
  }
  nav ul {
    gap: 0.6rem;
    padding: 0.4rem 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  nav a {
    font-size: 1rem;
    padding: 0.35rem 0.8rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0.9rem 0 0.6rem 0;
  }
  header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    padding: 0 0.6rem;
  }
  nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.25rem;
    background: rgba(255,255,255,0.06);
    border-radius: 14px;
    width: calc(100% - 2rem);
    margin: 0.25rem auto 0 auto;
  }
  nav a {
    display: block;
    padding: 0.45rem 0.6rem;
    text-align: center;
    font-size: 0.95rem;
  }
}
body {
  font-family: 'Noto Sans Devanagari', Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,152,0,0.08) 0%, transparent 35%),
    radial-gradient(circle at 85% 75%, rgba(220,20,60,0.06) 0%, transparent 35%),
    linear-gradient(120deg, #f8fafc 0%, #ffe0b2 100%);
  margin: 0;
  color: #000;
  min-height: 100vh;
  background-attachment: fixed;
  line-height: 1.6;
}

header {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.9) 0%, rgba(255, 193, 7, 0.9) 50%, rgba(255, 152, 0, 0.9) 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  color: #dc143c;
  padding: 3rem 0 2rem 0;
  text-align: center;
  box-shadow: 0 12px 40px rgba(255, 152, 0, 0.4), 0 4px 20px rgba(0, 0, 0, 0.1);
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}
header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.3)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.2)"/><circle cx="60" cy="80" r="1" fill="rgba(255,255,255,0.25)"/></svg>') repeat;
  opacity: 0.5;
  pointer-events: none;
}
header h1 {
  color: #dc143c;
  font-family: 'Yatra One', 'Noto Sans Devanagari', cursive;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow:
    2px 2px 0px rgba(0,0,0,0.4),
    4px 4px 0px rgba(0,0,0,0.3),
    6px 6px 6px rgba(0,0,0,0.2),
    0px 2px 0px rgba(255,255,255,0.4),
    0px 0px 20px rgba(255,152,0,0.5);
  line-height: 1.2;
  animation: titlePulse 2s ease-in-out infinite alternate;
  text-align: center;
  position: relative;
  z-index: 1;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes textGlow {
  from { text-shadow: 3px 6px 20px rgba(0,0,0,0.5), 0 2px 4px rgba(255,255,255,0.3), 0 0 20px rgba(255,152,0,0.5); }
  to { text-shadow: 3px 6px 20px rgba(0,0,0,0.5), 0 2px 4px rgba(255,255,255,0.3), 0 0 30px rgba(255,152,0,0.8); }
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 3rem;
  background: rgba(255,255,255,0.15);
  border-radius: 25px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
  padding: 0.8rem 2rem;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  footer {
    padding: 1rem 0 0.7rem 0;
    font-size: 0.95rem;
    border-radius: 0;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  footer nav ul {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }
  footer nav a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-shadow: 
    1px 1px 0px rgba(0,0,0,0.3),
    2px 2px 0px rgba(0,0,0,0.2),
    3px 3px 3px rgba(0,0,0,0.1),
    0px 1px 0px rgba(255,255,255,0.3);
}
nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
nav a:hover::before {
  left: 100%;
}
nav a:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3), 0 0 15px rgba(255,152,0,0.4);
  color: #fff;
}
nav a::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #fff, #ffd54f);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
nav a:hover::after, nav a:focus::after {
  footer {
    padding: 0.5rem 0 0.3rem 0;
    font-size: 0.85rem;
    border-radius: 0;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  footer nav ul {
    gap: 0.3rem;
    flex-direction: column;
    align-items: center;
  }
  footer nav a {
    font-size: 0.85rem;
    padding: 0.3rem 0.5rem;
  }
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="transparent"/></radialGradient></defs><circle cx="20" cy="20" r="15" fill="url(%23a)"/><circle cx="80" cy="60" r="10" fill="url(%23a)"/><circle cx="60" cy="10" r="8" fill="url(%23a)"/><circle cx="10" cy="80" r="12" fill="url(%23a)"/><circle cx="90" cy="30" r="6" fill="url(%23a)"/></svg>') repeat;
  opacity: 0.6;
  animation: float 20s ease-in-out infinite;
}
.hero {
  position: relative;
  overflow: clip;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(120deg); }
  66% { transform: translateY(5px) rotate(240deg); }
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 1.5s ease-out;
  text-align: center;
  margin-top: 4rem; /* Added top margin to prevent overlap */
}
.hero-content p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
  display: block;
}
@media (min-width: 700px) {
  .hero-content p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
    display: block;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero h1 {
  color: #dc143c;
  font-family: 'Yatra One', 'Noto Sans Devanagari', cursive;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow:
    2px 2px 0px rgba(0,0,0,0.4),
    4px 4px 0px rgba(0,0,0,0.3),
    6px 6px 6px rgba(0,0,0,0.2),
    0px 2px 0px rgba(255,255,255,0.4),
    0px 0px 20px rgba(255,152,0,0.5);
  line-height: 1.2;
  animation: titlePulse 2s ease-in-out infinite alternate;
  text-align: center;
  margin: 0 auto 1.5rem auto;
  width: 100%;
}
@keyframes titlePulse {
  from { transform: scale(1); }
  to { transform: scale(1.02); }
}
.hero p {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  text-shadow: 
    1px 1px 0px rgba(0,0,0,0.4),
    2px 2px 0px rgba(0,0,0,0.2),
    3px 3px 3px rgba(0,0,0,0.1),
    0px 1px 0px rgba(255,255,255,0.3);
  max-width: 600px;
  margin: 0 auto 3rem auto;
  text-align: center;
  text-indent: 0;
  width: 100%;
}
.btn-donate {
  background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
  color: #ff9800;
  padding: 1.2rem 3rem;
  border: 2px solid #fff;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2), 0 0 20px rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.btn-donate::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,152,0,0.2), transparent);
  transition: left 0.6s;
}
.btn-donate:hover::before {
  left: 100%;
}
.btn-donate:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 40px rgba(255,152,0,0.4), 0 0 60px rgba(255,255,255,0.2);
  background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
  color: #e65100;
}

.carousel-container {
  width: 92vw;
  max-width: 950px;
  margin: 2.5rem auto 1.5rem auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 40px #ff980044, 0 1.5px 8px #e0c3fc33;
  background: rgba(255,255,255,0.75);
  border: 2px solid #ff980033;
  backdrop-filter: blur(8px);
  position: relative;
}
.carousel {
  display: flex;
  width: 100%;
  height: 370px;
  position: relative;
  background: linear-gradient(90deg, #ffecd2 0%, #ffe0b2 100%);
  align-items: center;
  justify-content: center;
}
.carousel img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  display: none;
  border-radius: 24px;
  box-shadow: 0 8px 32px #ff980044, 0 1.5px 8px #e0c3fc33;
  transition: opacity 0.7s, transform 0.5s;
  border: 3px solid #fff3e0;
}
.carousel img.active {
  display: block;
  opacity: 1;
  transform: scale(1.03);
}
.carousel-slide {
  display: none;
  width: 100%;
  height: 370px;
  border-radius: 24px;
  box-shadow: 0 8px 32px #ff980044, 0 1.5px 8px #e0c3fc33;
  transition: opacity 0.7s, transform 0.5s;
  border: 3px solid #fff3e0;
}
.carousel-slide.active {
  display: block;
  opacity: 1;
  transform: scale(1.03);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,152,0,0.8);
  color: #fff;
  border: none;
  padding: 1rem;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.5rem;
  transition: background 0.3s;
}
.carousel-btn:hover {
  background: #ff9800;
}
.prev { left: 1rem; }
.next { right: 1rem; }

.stats {
  display: flex;
  justify-content: space-around;
  padding: 2rem;
  background: rgba(255,255,255,0.9);
  margin: 2rem auto;
  max-width: 950px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.stat-item {
  text-align: center;
}
.stat-item h3 {
  font-size: 2.5rem;
  color: #ff9800;
  margin: 0;
}
.stat-item p {
  margin: 0.5rem 0 0 0;
  font-weight: bold;
  text-align: justify;
  text-indent: 2em;
}

.intro {
  max-width: 950px;
  margin: 2.5rem auto;
  background: rgba(255,255,255,0.85);
  border-radius: 22px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 40px #ff980044, 0 1.5px 8px #e0c3fc33;
  border: 1.5px solid #ff980033;
  font-size: 1.18rem;
  line-height: 1.30;
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}
.intro::before {
  content: '\'''\'';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, #ffe0b2 60%, #ffe0e9 100%);
  opacity: 0.25;
  z-index: 0;
  border-radius: 22px;
}
.intro > * {
  position: relative;
  z-index: 1;
}
.intro img {
  display: block;
  width: min(100%, 400px);
  height: auto;
  margin: 0 auto;
}
.intro h2 {
  color: #ff9800;
  font-family: 'Yatra One', 'Noto Sans Devanagari', cursive;
  margin-top: 0;
  margin-bottom: 0.2rem;
  font-size: 2.2rem;
  letter-spacing: 1.5px;
  font-weight: 800;
  text-shadow: 1px 2px 8px #ff980055;
  text-align: center;
}
.intro p {
  text-align: center;
  text-indent: 0;
  margin-bottom: 0;
  line-height: 1.2;
}
.intro .trust-name {
  font-size: 1.8em;
  font-weight: bold;
  color: #ff9800;
}
.intro ul, .intro ol {
  margin-left: 1.5rem;
  margin-bottom: 0;
  padding: 1rem 1.5rem;
  background: #fff3e0cc;
  border-radius: 12px;
  box-shadow: 0 2px 8px #ff980022;
}
.intro li {
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
  padding-left: 0.2rem;
}

.activities-preview {
  max-width: 950px;
  margin: 2rem auto;
  padding: 2rem;
}
.activity-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.card {
  background: rgba(255,255,255,0.9);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}
.card h3 {
  color: #ff9800;
  margin-top: 0;
}
.card p {
  text-align: justify;
  text-indent: 2em;
}

.testimonials {
  background: linear-gradient(120deg, #ffe0b2 0%, #fff3e0 100%);
  padding: 2rem;
  text-align: center;
}
.testimonial {
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
}
.testimonial p {
  text-align: justify;
  text-indent: 2em;
}
.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

.donate-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
}
.modal-content p {
  text-align: justify;
  text-indent: 2em;
}
.close {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 2rem;
  cursor: pointer;
}
.donate-modal form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.donate-modal input, .donate-modal button {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.donate-modal button {
  background: #ff9800;
  color: #fff;
  border: none;
  cursor: pointer;
}

footer {
  background: rgba(255, 152, 0, 0.92);
  color: #dc143c;
  text-align: center;
  padding: 2rem 0 1.5rem 0;
  margin-top: 2.5rem;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 -2px 24px #ff980055;
  font-size: 1.15rem;
  letter-spacing: 1.2px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
footer nav a {
  color: #dc143c;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}
footer nav a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  color: #fff;
}
footer nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #dc143c;
  transition: width 0.3s ease, left 0.3s ease;
}
footer nav a:hover::after {
  width: 80%;
  left: 10%;
}

@media (max-width: 700px) {
  .carousel, .carousel img {
    height: 180px;
    border-radius: 12px;
  }
  .carousel-container {
    border-radius: 12px;
  }
  .intro {
    padding: 1.2rem 0.7rem;
    font-size: 1rem;
    background: rgba(255,255,255,0.92);
    border-radius: 12px;
  }
  .intro::before {
    border-radius: 12px;
  }
  header {
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    padding: 1.2rem 0 0.7rem 0;
  }
  header h1 {
    font-size: 2rem;
  }
  nav ul {
    gap: 1rem;
    border-radius: 8px;
    padding: 0.2rem 0.5rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .stats {
    flex-direction: column;
    gap: 1rem;
  }
  .activity-cards {
    grid-template-columns: 1fr;
  }
  footer nav ul {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }
  footer nav a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
  .modal-content {
    width: 95%;
    padding: 1.5rem;
    margin: 1rem;
  }
}

.event-images {
  text-align: center;
  margin: 1rem 0;
}

.event-images img {
  width: 250px;
  height: auto;
  margin: 0 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Final shared-shell sizing overrides */
header {
  padding: 1rem 0;
}
.menu-toggle {
  margin: 0 0 0 auto;
}
