/* ---------- MATCHING GLOBAL STYLES ---------- */
*{box-sizing:border-box}
body{
  margin:0;
  font-family:Segoe UI, Arial, sans-serif;
  background:#f4f6f8;
  color:#1f2937;
  padding-top:60px;
}

/* ---------- HEADER ---------- */
header, header.main-header{
  background:#0f172a;
  position:fixed;
  top:0;
  width:100%;
  z-index:2000;
  padding: 0;
}
.header-inner{
  max-width:1100px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 18px;
}
.logo{color:white;font-size:22px;font-weight:600;text-decoration:none;}
nav a, nav.desktop-nav a{
  color:#cbd5f5;
  margin-left:16px;
  font-size:14px;
  text-decoration:none;
  cursor:pointer;
}
nav a:hover, nav.desktop-nav a:hover{color:white}

/* HAMBURGER MENU & DRAWER */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 3000;
}
.menu-btn span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}
.menu-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: #0f172a;
  z-index: 2500;
  padding: 80px 0 30px 0;
  display: flex;
  flex-direction: column;
  transition: 0.4s ease-in-out;
  box-shadow: -5px 0 15px rgba(0,0,0,0.3);
}
.mobile-drawer.active { right: 0; }
.mobile-drawer a {
  color: #cbd5f5;
  font-size: 16px;
  text-decoration: none;
  padding: 15px 25px;
  border-bottom: 1px solid #1e293b;
  width: 100%;
  display: block;
}
.mobile-drawer a:hover { background: #1e293b; color: white; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 2400;
}
.overlay.active { display: block; }

/* ---------- HERO ---------- */
.hero{
  background:linear-gradient(135deg,#1e3a8a,#2563eb);
  color:white;
  padding:15px 0;
  text-align:center;
  width:100%;
}
.hero h1{font-size:36px;margin:0;}
.hero p{
  max-width:95%;
  margin:15px auto 0;
  line-height:1.7;
  opacity:0.9;
}
.hero-inner{text-align:center; max-width:1100px; margin:auto; padding:0 18px;}
.hero-time{font-size:13px; opacity:.85; margin-top:12px;}

/* Ensure specific hero styling applies cleanly to Index */
.page.active .hero { padding: 50px 0; }
.page.active .hero p { max-width: 760px; }

.marquee{
  background:#0f172a;
  color:#e5e7eb;
  padding:10px;
  margin-top:30px;
  border-radius:8px;
  overflow:hidden;
}
.marquee span{
  display:inline-block;
  white-space:nowrap;
  animation:scroll 18s linear infinite;
}
@keyframes scroll{
  0%{transform:translateX(100%)}
  100%{transform:translateX(-100%)}
}

/* ---------- CONTENT BLOCKS ---------- */
.container{max-width:1100px;margin:auto;padding:20px 18px;}

/* Cap subpage content width for optimal reading line-length */
main.container { max-width: 900px; }

.block{
  position:relative;
  background:#fff;
  padding:32px;
  margin-bottom:40px;
  border-radius:16px;
  box-shadow:0 4px 6px -1px rgba(0,0,0,0.1);
  overflow:hidden;
  animation:fadeUp 0.8s ease forwards;
}
.block h2{
  margin-top:0;
  color:#1e3a8a;
  font-size:24px;
}
.block p{
  line-height:1.8;
  font-size:16px;
  color:#374151;
}
.block.centered h2, .block.centered p { text-align: center; }

/* Rainbow Animated Border Effect */
@keyframes rainbowMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.block::before, .faq-item::before {
  content:"";
  position:absolute;
  inset:0;
  border-radius:16px;
  padding:3px;
  background:linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff);
  background-size:200% 100%;
  animation:rainbowMove 4s linear infinite;
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity: 0.7;
  pointer-events: none;
}
.rainbow-card-wrapper {
  max-width: 450px;
  margin: 0 auto 10px;
  position: relative;
  padding: 4px;
  background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff);
  background-size: 200% 100%;
  animation: rainbowMove 3s linear infinite;
  border-radius: 18px;
}
.rainbow-card-wrapper.enhanced {
  max-width: 400px;
  margin: 30px auto 10px;
}

/* ---------- SHARED COMPONENTS ---------- */
.section{
  background:white;
  margin-top:40px;
  padding:40px 25px;
  border-radius:16px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.moments-title {
  text-align:center;
  color:#0f172a;
  font-weight:700;
  margin-bottom:30px;
  position:relative;
  padding-bottom:10px;
}
.moments-title::after {
  content:'';
  position:absolute;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:50px;
  height:4px;
  background:#2563eb;
  border-radius:2px;
}
.image-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:20px;
  align-items: start;
}
.image-grid img{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
  border:1px solid #eee;
}
.impact-btn {
  background: #16a34a;
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  text-decoration: none;
  color: white;
  font-weight: 600;
}
.impact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.3);
}
.inner-box {
  background:white;
  padding:25px;
  border-radius:14px;
  text-align:center;
  height: 100%;
}
.inner-box code {
  display:block;
  background:#f8fafc;
  padding:12px;
  border-radius:8px;
  font-weight:600;
  border: 1px dashed #cbd5f5;
  margin-bottom: 20px;
}
.upi-qr { width:190px; border-radius:8px; margin-top:15px; }
button {
  padding:12px 24px;
  border-radius:8px;
  border:none;
  background:#2563eb;
  color:white;
  font-weight:600;
  cursor:pointer;
}
button:active { transform:scale(0.98); }

.social-links {
  display:flex;
  justify-content:center;
  gap:25px;
  margin-top:20px;
  padding-top:20px;
  border-top:1px solid #f3f4f6;
}
.social-item {
  text-align:center;
  text-decoration:none;
  color:#1f2937;
  font-size:14px;
  font-weight:600;
  transition:transform 0.2s;
}
.social-item:hover { transform:translateY(-3px); color:#2563eb; }
.social-icon {
  font-size:24px;
  display:block;
  margin-bottom:5px;
}

/* ---------- FAQ ---------- */
.faq-item {
  position: relative;
  background: white;
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  overflow: hidden;
}
.faq-item:hover { transform: translateY(-5px); }
.faq-item h2 {
  font-size: 19px;
  color: #1e3a8a;
  margin-top: 0;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.faq-item h2::before {
  content: "Q.";
  margin-right: 10px;
  color: #2563eb;
  font-weight: 800;
}
.faq-item p {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 0;
}

/* ---------- STATUS PAGE ---------- */
.single-stat-container {
  max-width: 400px;
  margin: 30px auto 10px;
}
@keyframes floatPulse {
  0% { transform: translateY(0); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
  50% { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(5, 150, 105, 0.25); }
  100% { transform: translateY(0); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
}
.rainbow-card-wrapper.enhanced {
  animation: rainbowMove 3s linear infinite, floatPulse 4s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
.rainbow-card-wrapper.enhanced:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px -5px rgba(0,0,0,0.15);
  animation-play-state: paused;
}
.stat-inner {
  height: 100%;
  padding: 40px 20px;
  border-radius: 14px;
  text-align: center;
}
.stat-inner.used { background: linear-gradient(to bottom right, #ffffff, #f0fdf4); }
.stat-icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.stat-icon.used { background: #d1fae5; color: #059669; }
.stat-value {
  font-size: 64px;
  color: #1f2937;
  font-weight: 800;
  margin: 0;
  line-height: 1;
  letter-spacing: -1px;
}
.stat-value.used { color: #065f46; }
.stat-label {
  margin: 10px 0 0;
  color: #475569;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.verification-text {
  text-align: center;
  color: #64748b;
  font-size: 14px;
  margin-top: 25px;
  font-weight: 500;
}
.animate-pop {
  opacity: 0;
  animation: popIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes popIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.timeline {
  position: relative;
  max-width: 600px;
  margin: 30px auto 0;
  padding-left: 20px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
  background: #cbd5f5;
}
.timeline-item {
  position: relative;
  margin-bottom: 25px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -20px;
  top: 15px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2563eb;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #2563eb;
  z-index: 2;
}
.timeline-item:first-child .timeline-dot {
  background: #16a34a;
  box-shadow: 0 0 0 2px #16a34a;
}
.timeline-box {
  margin-left: 15px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.timeline-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  border-color: #bfdbfe;
}
.t-date {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.t-text {
  margin: 0;
  color: #1f2937;
  line-height: 1.6;
  font-size: 15px;
}
.t-text strong {
  color: #16a34a;
}

/* ---------- FOOTER ---------- */
footer{
  background:#0f172a;
  color:#94a3b8;
  padding:60px 18px;
  text-align:center;
  margin-top:60px;
}
.footer-logo{
  color:white;
  font-size:24px;
  font-weight:700;
  display:block;
  margin-bottom:15px;
}
.footer-links a { color:#cbd5f5; text-decoration:none; margin:0 10px; font-size:14px; cursor:pointer;}
.footer-disclaimer{
  font-size:12px;
  max-width:750px;
  margin:25px auto 0;
  line-height:1.6;
  opacity:0.7;
  border-top: 1px solid #1e293b;
  padding-top: 25px;
}

/* ---------- ANIMATION ---------- */
@keyframes fadeUp{
  from{opacity:0;transform:translateY(20px);}
  to{opacity:1;transform:translateY(0);}
}

.page{display:none}
.active{display:block}

/* RESPONSIVE QUERIES */
@media(max-width:850px){
  nav.desktop-nav { display: none; }
  .menu-btn { display: flex; }
}
@media(max-width:600px){
  .hero h1{font-size:28px}
  .page.active .hero h1{font-size:26px}
  nav a, nav.desktop-nav a{margin-left:10px;font-size:12px}
  .faq-item h2 { font-size: 17px; }
  .image-grid { grid-template-columns: 1fr; }
}