:root{
  --yellow:#f6c84c;
  --maroon:#8b2b1a;
  --accent:#0088ff;
  --bg:#fff7e6;
  --muted:#6b6b6b;
  --container:1100px;
  --glass: rgba(255,255,255,0.7);
  --mobile-padding: 1rem;
  --mobile-gap: 0.8rem;
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  body {
    font-size: 14px;
    line-height: 1.4;
  }
  
  .container {
    padding: 0.8rem;
  }
  
  .hero {
    min-height: 70vh;
    padding: 1.5rem 0.8rem;
  }
  
  .hero h1 {
    font-size: 1.3rem;
    line-height: 1.2;
  }
  
  .sub {
    font-size: 0.9rem;
  }
  
  .countdown {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    max-width: 280px;
  }
  
  .countdown div {
    padding: 0.6rem 0.4rem;
  }
  
  .countdown span {
    font-size: 1rem;
  }
  
  .countdown small {
    font-size: 0.65rem;
  }
  
  .btn {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    min-width: 100px;
  }
  
  .hero-cta {
    max-width: 250px;
    gap: 0.6rem;
  }
  
  .section {
    padding: 1.5rem 0.8rem;
  }
  
  h2 {
    font-size: 1.2rem;
  }
  
  h3 {
    font-size: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  
  .gallery-grid img {
    height: auto;
  }
  
  .upi-section {
    padding: 1rem;
    margin: 1rem 0;
  }
  
  .upi-option {
    padding: 0.6rem;
  }
  
  .upi-id {
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
  }
  
  .copy-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    min-width: 80px;
  }
  
  .upi-app-btn {
    padding: 0.7rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .donation-info li {
    font-size: 0.8rem;
    padding: 0.4rem 0;
  }
  
  .contact-grid p {
    font-size: 0.8rem;
  }
  
  .map {
    height: 180px;
  }
  
  .footer {
    padding: 1rem 0.8rem;
  }
  
  .footer small {
    font-size: 0.8rem;
  }
  
  #about h2 {
    margin-top: 1.5rem;
  }
  #about {
    scroll-margin-top: 100px;
  }
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans",sans-serif;
  background:linear-gradient(180deg, #fffaf0 0%, #fff2d6 100%);
  color:#222;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
  font-size: 16px;
  overflow-x: hidden;
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:var(--mobile-padding);
  width: 100%;
}

img, video, canvas, iframe {
  max-width: 100%;
  height: auto;
}

.nav-wrap{
  position:sticky;
  top:0;
  z-index:80;
  background: #2c1810;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0.8rem var(--mobile-padding);
  background: #2c1810;
  color:#fff;
  max-width:var(--container);
  margin:0 auto;
  position: relative;
}
.brand{
  display:flex;
  align-items:center;
  gap:0.5rem;
  font-size: 0.9rem;
  z-index: 81;
  flex-shrink: 0;
}
.brand img{
  width:32px;
  height:32px;
  border-radius:6px;
  object-fit:cover;
}
.brand span {
  font-weight: 600;
  font-size: 0.9rem;
}
.navlinks{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  right:0;
  background: #2c1810;
  padding:1.5rem;
  flex-direction:column;
  gap:0.8rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  border-radius: 0 0 16px 16px;
  z-index: 79;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.navlinks.open{
  display:flex;
  animation: slideDown 0.3s ease-out;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.navlinks a{
  color:#fff;
  text-decoration:none;
  padding:1rem 1.2rem;
  border-radius:10px;
  font-weight:600;
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
  background: rgba(255,255,255,0.05);
}
.navlinks a:hover{
  background:rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}
.navlinks a:active{
  transform: translateY(0);
  background:rgba(255,255,255,0.2);
}
.hamburger{
  display:block;
  background:transparent;
  border:0;
  color:#fff;
  font-size:1.8rem;
  padding: 0.6rem;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 81;
  flex-shrink: 0;
}
.hamburger:hover {
  background: rgba(255,255,255,0.1);
  transform: scale(1.05);
}
.hamburger:active {
  transform: scale(0.95);
}

@media (max-width: 1023px) {
  .nav {
    flex-direction: row;
    align-items: center;
    padding: 0.8rem var(--mobile-padding);
    position: relative;
    flex-wrap: wrap;
  }
  
  .navlinks {
    width: 100%;
    margin-top: 0;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    min-height: auto;
  }
  
  .navlinks a {
    margin: 0.2rem 0;
    position: relative;
    overflow: hidden;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
  }
  
  .navlinks a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
  }
  
  .navlinks a:hover::before {
    left: 100%;
  }
  
  body.nav-open {
    overflow: hidden;
  }
  
  .hamburger {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.hero{
  min-height:80vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:2rem var(--mobile-padding);
  position: relative;
}
.hero-logo{
  width:80px;
  height:80px;
  object-fit:contain;
  border-radius:12px;
  margin-bottom: 1rem;
}
.hero h1{
  font-size:1.5rem;
  margin:0.8rem 0;
  color:var(--maroon);
  line-height: 1.3;
  max-width: 90%;
}
.sub{
  color:var(--muted);
  margin-bottom:1.5rem;
  font-size: 0.95rem;
  max-width: 90%;
  line-height: 1.4;
}

.countdown{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:var(--mobile-gap);
  align-items:center;
  justify-content:center;
  margin:1.5rem 0;
  width: 100%;
  max-width: 300px;
}
.countdown div{
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding:0.9rem 0.7rem;
  border-radius:14px;
  min-width:auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border: 1px solid rgba(139, 43, 26, 0.12);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  will-change: transform;
}
.countdown div:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  border-color: rgba(139, 43, 26, 0.2);
}
.countdown span{
  display:block;
  font-weight:800;
  font-size:1.25rem;
  color: var(--maroon);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.countdown small{
  display:block;
  font-size:0.7rem;
  color:#5a5a5a;
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.countdown span.tick {
  animation: pulseScale 0.35s ease;
}
@keyframes pulseScale {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.countdown-finished{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.85);
  color: var(--maroon);
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  border: 1px solid rgba(246,200,76,0.85);
  letter-spacing: 0.02em;
  animation: popIn 0.5s ease both;
  position: relative;
  isolation: isolate;
}

.finish-emoji{
  font-size: 1.2rem;
  line-height: 1;
}
.finish-text{
  font-size: 1rem;
}

.countdown.finished{
  display: flex;
  align-items: center;
  justify-content: center;
  grid-template-columns: 1fr;
  max-width: none;
}

@keyframes popIn {
  0% { opacity: 0; transform: translateY(8px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.countdown-finished::before{
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  padding: 5px;
  background: conic-gradient(
    from var(--qr-border-angle, 0deg),
    transparent 0deg,
    rgba(0, 136, 255, 0.922) 90deg,
    rgba(96, 190, 75, 0.55) 180deg,
    transparent 270deg,
    transparent 360deg
  );
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: qr-border-rotate 4s linear infinite;
  filter: drop-shadow(0 0 2px rgba(0,136,255,0.22)) drop-shadow(0 0 3px rgba(96,190,75,0.2));
  opacity: 0.8;
  pointer-events: none;
}


.confetti-piece{
  position: fixed;
  top: -10px;
  width: 8px;
  height: 14px;
  opacity: 0.9;
  border-radius: 2px;
  pointer-events: none;
  z-index: 1200;
  animation-name: confettiFall, confettiRotate;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: 1, infinite;
}

@keyframes confettiFall {
  to { transform: translateY(110vh); }
}

@keyframes confettiRotate {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}

@media (min-width: 768px) {
  .countdown-finished{
    padding: 1rem 1.3rem;
  }
  .finish-emoji{ font-size: 1.35rem; }
  .finish-text{ font-size: 1.05rem; }
}

@media (min-width: 1024px) {
  .countdown-finished{
    padding: 1.1rem 1.5rem;
  }
  .finish-emoji{ font-size: 1.5rem; }
  .finish-text{ font-size: 1.1rem; }
}

.btn{
  display:inline-block;
  text-decoration:none;
  padding:0.8rem 1.2rem;
  border-radius:12px;
  font-weight:700;
  box-shadow:0 4px 14px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  text-align: center;
  min-width: 120px;
}
.btn.primary{
  background:var(--yellow);
  color:#511f0f;
}
.btn.primary:hover{
  background: #f0b840;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.btn.centered{
  display: block;
  width: fit-content;
  margin: 1rem auto 0;
}

.chat-fab{
  position: fixed;
  bottom: 16px;
  right: 16px;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  border: none;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  isolation: isolate;
}
.btn.chat-fab{
  background: linear-gradient(135deg, var(--yellow) 0%, var(--accent) 100%);
  color: #fff;
  border: none;
}
.chat-fab::before{
  content: '💬';
}
.chat-fab::after{
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: radial-gradient(closest-side, rgba(255,255,255,0.14), transparent 70%);
  filter: blur(4px);
  z-index: -1;
  animation: chatGlow 2.4s ease-in-out infinite;
}
.chat-fab:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
  filter: saturate(1.05);
}
.chat-fab:active{
  transform: translateY(0);
}
.chat-fab:focus-visible{
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0,136,255,0.35), 0 10px 28px rgba(0,0,0,0.2);
}
.chat-fab[aria-disabled="true"]{
  pointer-events: none;
}

@keyframes chatGlow {
  0% { opacity: 0.55; transform: scale(0.98); }
  50% { opacity: 0.9; transform: scale(1.03); }
  100% { opacity: 0.55; transform: scale(0.98); }
}
.btn.ghost{
  background:transparent;
  color:#222;
  border:2px solid rgba(0,0,0,0.1);
}
.btn.ghost:hover{
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.2);
}
.btn.small{
  padding:0.6rem 1rem;
  font-size:0.85rem;
  min-width: auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  max-width: 280px;
  margin-top: 1rem;
}

.celebration-wrap{
  position: relative;
  width: clamp(180px, 60vw, 420px);
  margin: 0.75rem auto 0.25rem auto;
  border-radius: 12px;
  isolation: isolate;
  --cw-blue: rgba(0, 136, 255, 0.922);
  --cw-red: rgba(96, 190, 75, 0.55);
  --cw-outer: 5px;
  --cw-inner-inset: 4px;
  --cw-inner: 2px;
}
.celebration-wrap::before{
  content: "";
  position: absolute;
  inset: calc(var(--cw-outer) * -1);
  border-radius: 12px;
  padding: var(--cw-outer);
  background: conic-gradient(
    from var(--qr-border-angle, 0deg),
    transparent 0deg,
    var(--cw-blue) 90deg,
    var(--cw-red) 180deg,
    transparent 270deg,
    transparent 360deg
  );
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: qr-border-rotate 4s linear infinite;
  filter: drop-shadow(0 0 2px rgba(0,136,255,0.22)) drop-shadow(0 0 3px rgba(255,0,51,0.2));
  opacity: 0.8;
  pointer-events: none;
}
.celebration-wrap::after{
  content: "";
  position: absolute;
  inset: var(--cw-inner-inset);
  border-radius: 12px;
  padding: var(--cw-inner);
  background: conic-gradient(
    from calc(var(--qr-border-angle, 0deg) * -1),
    transparent 0deg,
    var(--cw-blue) 90deg,
    var(--cw-red) 180deg,
    transparent 270deg,
    transparent 360deg
  );
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: qr-border-rotate 6s linear infinite;
  filter: drop-shadow(0 0 2px rgba(0,136,255,0.22)) drop-shadow(0 0 3px rgba(255,0,51,0.2));
  opacity: 0.01;
  pointer-events: none;
}
.celebration-wrap .celebration-image{
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.section{
  padding:2rem var(--mobile-padding);
}
.alt{
  background:#ffffff;
}

main > .section {
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}
h2{
  color:var(--maroon);
  margin-bottom:1rem;
  font-size:1.4rem;
  text-align: center;
}
h3 {
  color: var(--maroon);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.about-highlights{
  margin: 1rem 0 0.5rem 0;
  padding-left: 1.1rem;
}
.about-highlights li{
  margin: 0.3rem 0;
  line-height: 1.5;
}

.schedule-list{
  list-style:none;
  padding:0;
  margin:0 0 1.5rem 0;
}
.schedule-list li{
  padding:0.8rem 0;
  border-bottom:1px dashed rgba(0,0,0,0.08);
  font-size: 0.9rem;
  line-height: 1.5;
  border-radius: 8px;
}

.schedule-list li:nth-child(even){
  background: rgba(122, 223, 27, 0.153);
}
.schedule-list li:nth-child(odd){
  background: transparent;
}
.schedule-list li:last-child {
  border-bottom: none;
}

.gallery-grid{
  display:block;
  gap:var(--mobile-gap);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}
.gallery-grid::before,
.gallery-grid::after{
  content:"";
  position:absolute;
  top:0;bottom:0;
  width: clamp(12px, 5vw, 36px);
  pointer-events:none;
  z-index: 3;
}
.gallery-grid::before{left:0;background:linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);}
.gallery-grid::after{right:0;background:linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);} 
.gallery-grid img{
  width:auto;
  aspect-ratio: 4 / 5;
  object-fit:contain;
  display:block;
  flex: 0 0 auto;
  border-radius:12px;
  cursor:pointer;
  transition:transform .25s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-strip{
  display: flex;
  align-items: center;
  gap: clamp(8px, 2.2vw, 14px);
  width: max-content;
  will-change: transform;
  --halfWidth: 50%;
  --tickerDuration: 30s;
  animation: galleryTicker var(--tickerDuration) linear infinite;
  animation-play-state: running;
}

@keyframes galleryTicker{
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--halfWidth))); }
}

.gallery-strip img{
  width: auto;
  height: auto;
}
.gallery-item{
  flex: 0 0 auto;
  padding: clamp(4px, 1.2vw, 10px);
  border-radius: clamp(8px, 1.2vw, 12px);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06) inset, 0 6px 14px rgba(0,0,0,0.05);
  width: clamp(200px, 58vw, 360px);
  aspect-ratio: 4 / 5;
}
.gallery-item img{
  display:block;
  border-radius: clamp(6px, 1vw, 10px);
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 768px) {
  .gallery-strip{ gap: 1rem; }
  .gallery-item{ padding: clamp(6px, 0.9vw, 10px); }
}

@media (min-width: 1024px) {
  .gallery-strip{ gap: 1.2rem; }
  .gallery-item{ padding: clamp(8px, 0.8vw, 12px); }
}

@media (min-width: 1200px) {
  .gallery-item{ padding: clamp(8px, 0.8vw, 12px); }
}
.gallery-grid img:hover{
  transform:scale(1.02);
}

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.9);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:120;
  padding:1rem;
}
.hidden{
  display:none;
}
.lb-content img{
  max-width:95vw;
  max-height:85vh;
  border-radius:8px;
  box-shadow:0 18px 50px rgba(0,0,0,0.6);
}
.lb-close{
  position:absolute;
  top:20px;
  right:20px;
  background:rgba(255,255,255,0.2);
  color:#fff;
  border:0;
  font-size:1.8rem;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lb-close:hover {
  background: rgba(255,255,255,0.3);
}
.lb-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(255,255,255,0.2);
  color:#fff;
  border:0;
  font-size:2rem;
  padding:1rem 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lb-nav:hover {
  background: rgba(255,255,255,0.3);
}
.lb-prev{left:16px}.lb-next{right:16px}

.donate-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:1.5rem;
  align-items:start;
}


.upi-section {
  margin: 1.5rem 0;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.upi-options {
  margin-bottom: 1.2rem;
}

.upi-option {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.upi-label {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.85rem;
}

.upi-id {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  color: var(--maroon);
  background: rgba(246, 200, 76, 0.2);
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(246, 200, 76, 0.3);
  text-align: center;
  font-size: 0.9rem;
  word-break: break-all;
}

.copy-btn {
  background: var(--yellow);
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  font-size: 0.85rem;
  align-self: center;
  min-width: 100px;
}

.copy-btn:hover {
  background: #f0b840;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.copy-icon {
  font-size: 0.9rem;
}

.upi-apps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.upi-apps.maintenance{
  position: relative;
}
.upi-apps.maintenance .upi-app-btn{
  filter: grayscale(1) blur(0.3px);
  opacity: 0.9;
  pointer-events: none;
}
.upi-maintenance-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 1rem;
  padding-top: 2.55rem;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(1.0px);
  border-radius: 12px;
  z-index: 2;
  color: var(--maroon);
  border: 1px dashed rgba(0,0,0,0.15);
}
.upi-maintenance-overlay strong{
  font-size: 0.95rem;
}
.upi-maintenance-overlay small{
  color: var(--muted);
}

.upi-app-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--maroon);
  border: 1px solid rgba(139, 43, 26, 0.2);
  transition: all 0.2s ease;
  border-radius: 10px;
  font-weight: 600;
}

.upi-app-btn:hover {
  background: var(--yellow);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.app-icon {
  font-size: 1.1rem;
}

.app-logo{
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2) inset;
}

.app-logo-img{
  width: 24px;
  height: 24px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  display: block;
  flex-shrink: 0;
}

.donation-info {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}
.donation-info li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.9rem;
}
.donation-info li:last-child {
  border-bottom: none;
}

.donation-info .btn.small {
  position: relative;
  z-index: 0;
  border: none;
  isolation: isolate;
  --qr-blue: rgba(0,136,255,0.6);
  --qr-red: rgba(255,0,51,0.55);
  --qr-ring-dark: rgba(0,0,0,0.18);
  --qr-outer-thickness: 2.7px;
  --qr-inner-inset: 3px;
  --qr-inner-thickness: 1.8px;

}
.donation-info .btn.small::before {
  content: "";
  position: absolute;
  inset: calc(var(--qr-outer-thickness) * -1);
  border-radius: 15px;
  padding: var(--qr-outer-thickness);
  background: conic-gradient(
    from var(--qr-border-angle, 0deg),
    transparent 0deg,
    var(--qr-blue) 90deg,
    var(--qr-red) 180deg,
    transparent 270deg,
    transparent 360deg
  );
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: qr-border-rotate 4s linear infinite;
  filter: drop-shadow(0 0 2px rgba(0,136,255,0.22)) drop-shadow(0 0 3px rgba(255,0,51,0.2));
  opacity: 0.3;
  pointer-events: none;
}
.donation-info .btn.small::after {
  content: "";
  position: absolute;
  inset: var(--qr-inner-inset);
  border-radius: 15px;
  padding: var(--qr-inner-thickness);
  background: conic-gradient(
    from calc(var(--qr-border-angle, 0deg) * -1),
    transparent 0deg,
    var(--qr-blue) 90deg,
    var(--qr-red) 180deg,
    transparent 270deg,
    transparent 360deg
  );
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: qr-border-rotate 6s linear infinite;
  filter: drop-shadow(0 0 2px rgba(0,136,255,0.22)) drop-shadow(0 0 3px rgba(255,0,51,0.2));
  opacity: 0.5;
  pointer-events: none;
}

.bank-card{
  margin-top: 0.6rem;
  padding: 0.8rem;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.bank-row{
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.3rem;
}
.bank-label{
  color: var(--muted);
  font-weight: 600;
}
.bank-value{
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: var(--maroon);
  background: rgba(246,200,76,0.18);
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(246,200,76,0.35);
}
.bank-copy{
  min-width: 44px;
  padding: 0.45rem 0.6rem;
}

.contact-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:1.5rem;
}
.contact-grid p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}
.contact-grid a {
  color: var(--maroon);
  text-decoration: none;
  font-weight: 600;
}
.contact-grid a:hover {
  text-decoration: underline;
}
.map-wrap{
  order: -1;
}
.map{
  width:100%;
  height:200px;
  border:0;
  border-radius:12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.footer{
  padding:1.5rem var(--mobile-padding);
  background: #2c1810;
  color:#fff;
  text-align:center;
  margin-top: 2rem;
}
.footer small {
  font-size: 0.85rem;
}

.floating-flowers {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.flower {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0.5;
  animation: float 15s infinite linear;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.flower-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 20s;
}

.flower-2 {
  top: 20%;
  right: 15%;
  animation-delay: -2s;
  animation-duration: 18s;
}

.flower-3 {
  top: 60%;
  left: 5%;
  animation-delay: -4s;
  animation-duration: 22s;
}

.flower-4 {
  top: 40%;
  right: 10%;
  animation-delay: -6s;
  animation-duration: 19s;
}

.flower-5 {
  top: 80%;
  left: 20%;
  animation-delay: -8s;
  animation-duration: 21s;
}

.flower-6 {
  top: 15%;
  left: 60%;
  animation-delay: -10s;
  animation-duration: 17s;
}

.flower-7 {
  top: 70%;
  right: 20%;
  animation-delay: -12s;
  animation-duration: 23s;
}

.flower-8 {
  top: 30%;
  left: 80%;
  animation-delay: -14s;
  animation-duration: 16s;
}

@keyframes float {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

.nav-wrap, main, .footer {
  position: relative;
  z-index: 2;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1023px) {
  .navlinks {
    background: #2c1810 !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
  }
  
  .navlinks a {
    color: #fff !important;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
  }
  
  .navlinks a:hover {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.25) !important;
  }
}

body.nav-open {
  overflow: hidden;
}



@media (min-width: 768px) {
  .container {
    padding: 1.5rem;
  }
  
  .hero {
    min-height: 75vh;
    padding: 3rem 1.5rem;
  }
  
  .hero-logo {
    width: 100px;
    height: 100px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .countdown {
    grid-template-columns: repeat(4, 1fr);
    max-width: 440px;
    gap: 1rem;
  }
  
  .countdown div {
    padding: 1.1rem 0.9rem;
  }
  
  .countdown span {
    font-size: 1.35rem;
  }
  
  .hero-cta {
    flex-direction: row;
    max-width: 400px;
    gap: 1rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
  }
  
  .section {
    padding: 3rem 1.5rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .gallery-grid img {
    height: auto;
  }
  
  .donate-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
  }
  
  .qr-wrap {
    order: 0;
  }
  
  .upi-apps {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  
  .upi-option {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
  }
  
  .upi-id {
    text-align: left;
    flex: 1;
  }
  
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .map-wrap {
    order: 0;
  }
  
  .map {
    height: 250px;
  }
  
  .brand span {
    font-size: 1rem;
  }
  
  .brand img {
    width: 36px;
    height: 36px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 2rem;
  }
  
  .hero {
    min-height: 70vh;
    padding: 4rem 2rem;
  }
  
  .hero-logo {
    width: 120px;
    height: 120px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .sub {
    font-size: 1rem;
  }
  
  .countdown {
    max-width: 560px;
    gap: 1.2rem;
  }
  
  .countdown div {
    padding: 1.3rem 1.1rem;
    min-width: 90px;
  }
  
  .countdown span {
    font-size: 1.6rem;
  }
  
  .hero-cta {
    max-width: 500px;
    gap: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
  }
  
  .btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    min-width: 140px;
  }
  
  .section {
    padding: 4rem 2rem;
    background: #ffffff;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }
  
  .gallery-grid img {
    height: auto;
  }
  
  .donate-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .qr {
    max-width: 360px;
  }
  
  .upi-apps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .upi-app-btn {
    padding: 1rem 1.2rem;
    font-size: 1rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .map {
    height: 300px;
  }
  
  .brand span {
    font-size: 1.1rem;
  }
  
  .brand img {
    width: 40px;
    height: 40px;
  }
  
  .navlinks {
    display: flex;
    position: static;
    background: transparent;
    padding: 0;
    flex-direction: row;
    gap: 0.8rem;
    box-shadow: none;
    border-radius: 0;
  }
  
  .navlinks a {
    padding: 0.5rem 0.8rem;
    border: none;
    background: transparent;
  }
  
  .navlinks a:hover {
    background: rgba(255,255,255,0.1);
    transform: none;
  }
  
  .hamburger {
    display: none;
  }
}

@media (min-width: 1200px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .countdown {
    max-width: 600px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 60vh;
    padding: 1.5rem var(--mobile-padding);
  }
  
  .hero-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
  }
  
  .hero h1 {
    font-size: 1.3rem;
    margin: 0.5rem 0;
  }
  
  .sub {
    margin-bottom: 1rem;
  }
  
  .countdown {
    margin: 1rem 0;
  }
  
  .hero-cta {
    margin-top: 0.5rem;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0.6rem;
  }
  
  .hero {
    padding: 1rem 0.6rem;
  }
  
  .hero h1 {
    font-size: 1.2rem;
    max-width: 95%;
  }
  
  .sub {
    font-size: 0.85rem;
    max-width: 95%;
  }
  
  .countdown {
    max-width: 260px;
    gap: 0.5rem;
  }
  
  .countdown div {
    padding: 0.5rem 0.3rem;
  }
  
  .countdown span {
    font-size: 0.9rem;
  }
  
  .countdown small {
    font-size: 0.6rem;
  }
  
  .btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
    min-width: 90px;
  }
  
  .hero-cta {
    max-width: 220px;
  }
  
  .section {
    padding: 1.2rem 0.6rem;
  }
  
  h2 {
    font-size: 1.1rem;
  }
  
  .gallery-grid {
    gap: 0.5rem;
  }
  
  .gallery-grid img {
    height: auto;
  }
  
  .upi-section {
    padding: 0.8rem;
  }
  
  .upi-option {
    padding: 0.5rem;
  }
  
  .upi-id {
    font-size: 0.75rem;
    padding: 0.4rem 0.5rem;
  }
  
  .copy-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    min-width: 70px;
  }
  
  .upi-app-btn {
    padding: 0.6rem 0.7rem;
    font-size: 0.8rem;
  }
  
  .map {
    height: 160px;
  }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .flower {
    font-size: 1rem;
  }
  
  .btn {
    border-width: 0.5px;
  }
}

@media print {
  .floating-flowers,
  .nav-wrap,
  .hero-cta,
  .upi-apps,
  .copy-btn {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .countdown {
    display: none;
  }
}

.gallery-grid .gallery-strip .gallery-item img{
  height: auto;
}

@property --qr-border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes qr-border-rotate {
  from { --qr-border-angle: 0deg; }
  to { --qr-border-angle: 360deg; }
}
  