/* ============================================================
   SRMPS – style.css
   Shri Ram Mandir Prabandh Sabha
   Theme: Blue & Light Gray — Fresh & Calm
   ============================================================ */

/* ---- CSS VARIABLES ---- */
:root {
  --gold:       #0f84ca;
  --gold-light: #5aa4e0;
  --gold-pale:  #d9e8f4;
  --maroon:     #0f84ca;
  --maroon-d:   #0b6ba5;
  --maroon-l:   #4c9dd6;
  --cream:      #f7f7f7;
  --cream-d:    #e6eef8;
  --charcoal:   #1a2433;
  --text:       #1f354d;
  --text-light: #5d7591;
  --white:      #FFFFFF;
  --shadow:     0 8px 40px rgba(15,132,202,0.12);
  --shadow-lg:  0 20px 80px rgba(0,0,0,0.24);
  --radius:     12px;
  --radius-lg:  24px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Cinzel Decorative', serif;
  --font-serif:   'Cormorant Garamond', serif;
  --font-body:    'Nunito Sans', sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 4%;
  transition: var(--transition);
  background: transparent;
   background: var(--white);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.navbar.scrolled,
.page-inner .navbar {
  background: var(--white);
  box-shadow: 0 2px 24px rgba(0,0,0,0.15);
  padding: 0.85rem 4%;
}
.navbar.scrolled .logo-text,
.page-inner .navbar .logo-text,
.navbar.scrolled .nav-links li a,
.page-inner .navbar .nav-links li a {
  color: var(--maroon-d);
}
.navbar.scrolled .nav-links li a:hover,
.page-inner .navbar .nav-links li a:hover,
.navbar.scrolled .nav-links li a.active,
.page-inner .navbar .nav-links li a.active {
  color: var(--gold);
}
.navbar.scrolled .submenu,
.page-inner .navbar .submenu {
  background: var(--white);
  border-color: rgba(15,132,202,0.22);
}
.navbar.scrolled .submenu li a:hover,
.page-inner .navbar .submenu li a:hover {
  background: rgba(15,132,202,0.12);
  color: var(--gold-light) !important;
}
.navbar.scrolled-light {
  background: rgba(253,248,240,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
.logo-image {
  height: 6rem;
  width: auto;
}
.logo-symbol {
  font-size: 1.9rem;
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(15,132,202,0.35));
  /*animation: spinSlow 20s linear infinite;*/
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--maroon-d);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav-links li a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #0f84ca;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--gold-light);
}
.nav-links li a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0.9rem; right: 0.9rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Submenu */
.has-submenu { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--maroon-d);
  border: 1px solid rgba(15,132,202,0.22);
  border-radius: var(--radius);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu li a {
  display: block;
  padding: 0.75rem 1.2rem !important;
  font-size: 0.85rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #f7f7f7;
}
.submenu li:last-child a { border-bottom: none; }
.submenu li a:hover { background: rgba(15,132,202,0.15); color: var(--gold-light) !important; }

.nav-donate {
  background: var(--gold) !important;
  color: var(--cream) !important;
  border-radius: 50px !important;
  padding: 0.5rem 1.3rem !important;
  font-weight: 700 !important;
  transition: var(--transition) !important;
}
.nav-donate:hover { background: var(--gold-light) !important; transform: translateY(-2px); }
.nav-donate.active::after { display: none; }

.nav-admin {
  background: var(--maroon) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 0.5rem 1.3rem !important;
  font-weight: 700 !important;
  transition: var(--transition) !important;
}
.nav-admin:hover { background: var(--maroon-d) !important; transform: translateY(-2px); }
.nav-admin.active::after { display: none; }

.arrow { font-size: 0.7rem; opacity: 0.7; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--maroon-d);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(0 0 0) 0%, rgba(0, 0, 0, 0.28) 60%, transparent 100%);
}
.slide-content {
  position: absolute;
  bottom: 18%;
  left: 6%;
  max-width: 680px;
  z-index: 2;
  animation: slideUp 0.8s ease both;
}
@keyframes slideUp {
  from { opacity:0; transform:translateY(30px); }
  to   { opacity:1; transform:translateY(0); }
}
.slide-sub {
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
}
.slide-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.slide-title em { color: var(--gold-light); font-style: normal; }
.slide-desc {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-style: italic;
}
.slide-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--gold);
  color: var(--cream);
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: 2px solid var(--gold);
  cursor: pointer;
}
..btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15,132,202,0.3);
}
.btn-ghost {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: transparent;
  color: var(--white);
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border: 2px solid rgba(255,255,255,0.6);
  transition: var(--transition);
  cursor: pointer;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 1.4rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}
.slider-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--maroon-d); }
.slider-btn.prev { left: 2%; }
.slider-btn.next { right: 2%; }
.testimonial-slider-wrap .slider-btn.prev { left: -2%; }
.testimonial-slider-wrap .slider-btn.next { right: -2%; }

.slider-dots {
  position: absolute;
  bottom: 6%;
  left: 6%;
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.dot.active { background: var(--gold); border-color: var(--gold); transform: scale(1.3); }

.slider-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.15);
  z-index: 10;
}
.slider-progress-bar {
  height: 100%;
  background: var(--gold);
  transition: width 0.1s linear;
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  background: var(--maroon-d);
  padding: 0.9rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(15,132,202,0.22);
  border-bottom: 1px solid rgba(15,132,202,0.22);
}
.marquee-inner {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 25s linear infinite;
}
.marquee-inner span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
@keyframes marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  background: var(--cream);
  padding: 5rem 6%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-d);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,var(--maroon),var(--gold));
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--maroon);
  display: inline-block;
}
.stat-unit {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
}
.stat-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem,3.5vw,3rem);
  color: var(--maroon-d);
  margin-bottom: 0.8rem;
}
.header-ornament {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 8px;
}

/* ============================================================
   HIGHLIGHTS
   ============================================================ */
.highlights {
  padding: 6rem 6%;
  background: var(--cream-d);
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.highlight-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--cream-d);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.highlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,var(--maroon-d) 0%,var(--maroon-l) 100%);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}
.highlight-card:hover::after { opacity: 1; }
.highlight-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.highlight-card > * { position: relative; z-index: 1; }
.highlight-card:hover h3,
.highlight-card:hover p { color: var(--white); }
.highlight-card:hover .highlight-link { color: var(--gold-light); }
.highlight-icon {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  display: block;
}
.highlight-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--maroon-d);
  margin-bottom: 0.8rem;
  transition: var(--transition);
}
.highlight-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  transition: var(--transition);
}
.highlight-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.9rem;
  transition: var(--transition);
}

/* ============================================================
   QUOTE SECTION
   ============================================================ */
.quote-section {
  background: linear-gradient(135deg,var(--maroon-d) 0%,var(--maroon) 100%);
  padding: 6rem 6%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '☸';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 20rem;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
}
.quote-inner { position: relative; max-width: 800px; margin: 0 auto; }
.quote-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.4;
  line-height: 0.5;
  margin-bottom: 1rem;
}
blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem,3vw,2.2rem);
  color: var(--white);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
cite {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  font-style: normal;
  text-transform: uppercase;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 6rem 6%;
  background: var(--cream);
  text-align: center;
}
.cta-inner { max-width: 700px; margin: 0 auto; }
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem,3vw,2.5rem);
  color: var(--maroon-d);
  margin-bottom: 1rem;
}
.cta-inner p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: 4rem 6% 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-symbol { font-size: 2.5rem; color: var(--gold); }
.footer-brand .logo-image { height: 3rem; width: auto; filter: drop-shadow(0 0 8px rgba(15,132,202,0.35)); }
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin: 0.5rem 0;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-links h4, .footer-contact h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-links ul a:hover { color: var(--gold-light); padding-left: 5px; }
.footer-contact p { font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 100px;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,rgba(15,132,202,0.75),rgba(15,132,202,0.55));
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem,5vw,3.5rem);
  color: var(--white);
  margin-bottom: 0.8rem;
}
.page-hero-content h1 em { color: var(--gold-light); font-style: normal; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-info {
  padding: 7rem 6%;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about-text .section-tag { margin-bottom: 0.5rem; }
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem,3vw,2.4rem);
  color: var(--maroon-d);
  margin-bottom: 0.8rem;
}
.about-text p {
  margin-top: 1.2rem;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
}
.about-image-block {
  position: relative;
}
.about-image-block img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 1.2rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 700;
  box-shadow: var(--shadow);
}

/* Mission / Vision */
.mission-section {
  background: var(--maroon-d);
  padding: 6rem 6%;
}
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.mv-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(15,132,202,0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
}
.mv-card:hover {
  background: rgba(15,132,202,0.1);
  transform: translateY(-6px);
}
.mv-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.mv-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}
.mv-card p { font-size: 0.95rem; color: rgba(255,255,255,0.75); line-height: 1.7; }

/* Timeline */
.timeline-section {
  padding: 7rem 6%;
  background: var(--cream-d);
}
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,var(--maroon),var(--gold),var(--maroon));
  transform: translateX(-50%);
}
.tl-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 2.5rem);
  margin-bottom: 3rem;
  position: relative;
  animation: fadeIn 0.6s ease both;
}
.tl-item.right {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 2.5rem);
}
.tl-dot {
  position: absolute;
  left: 50%;
  top: 1rem;
  width: 16px; height: 16px;
  background: var(--gold);
  border: 3px solid var(--maroon-d);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.tl-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--maroon);
  max-width: 340px;
  transition: var(--transition);
}
.tl-item.right .tl-card { border-left: none; border-right: 4px solid var(--gold); }
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tl-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}
.tl-card h4 { font-family: var(--font-serif); font-size: 1.1rem; color: var(--maroon-d); margin-bottom: 0.4rem; }
.tl-card p { font-size: 0.9rem; color: var(--text-light); }

/* Team */
.team-section {
  padding: 7rem 6%;
  background: var(--cream);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}
.team-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .team-img-wrap img { transform: scale(1.08); }
.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,rgba(15,132,202,0.92),rgba(15,132,202,0.2));
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}
.team-card:hover .team-overlay { opacity: 1; }
.team-overlay p { font-size: 0.88rem; color: rgba(255,255,255,0.9); line-height: 1.5; }
.team-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--maroon-d);
  padding: 1.2rem 1.5rem 0.3rem;
}
.team-role {
  display: block;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0 1.5rem 1.5rem;
}

.admin-section {
  padding: 6rem 6%;
  background: var(--white);
}
.admin-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto;
}
.admin-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.admin-form-card {
  min-height: 480px;
}
.admin-alert {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(14, 122, 190, 0.1);
  border: 1px solid rgba(14, 122, 190, 0.25);
  color: var(--maroon-d);
  border-radius: var(--radius);
}
.form-control {
  margin-bottom: 1.25rem;
}
.form-control label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.form-control input,
.form-control textarea, .form-control select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.95rem;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.btn-secondary,
.btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--maroon);
  background: transparent;
  color: var(--maroon-d);
  text-decoration: none;
  cursor: pointer;
}
.btn-tertiary {
  border-color: rgba(0,0,0,0.12);
  color: var(--text-dark);
}
.team-list {
  display: grid;
  gap: 1rem;
}
.team-list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-light);
}
.team-list-role {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.35rem;
}
.team-list-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-section { padding: 4rem 6%; background: var(--cream); }

.gallery-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 0.7rem 2rem;
  border: 2px solid var(--cream-d);
  border-radius: 50px;
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
}
.tab-btn:hover { border-color: var(--gold); color: var(--maroon); }
.tab-btn.active { background: var(--maroon-d); border-color: var(--maroon-d); color: var(--white); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.gallery-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--cream-d);
  border-radius: 50px;
  background: var(--white);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--maroon-d); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.2rem;
}
.gallery-widget,
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: var(--transition);
}
.gallery-widget,
.gallery-item { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.gallery-widget img,
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-widget img,
.gallery-item img { transform: scale(1.08); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent,rgba(15,132,202,0.9));
  padding: 2rem 1.2rem 1.2rem;
  transform: translateY(100%);
  transition: var(--transition);
}
.gallery-widget .gallery-caption,
.gallery-item .gallery-caption { transform: translateY(0); }
.gallery-caption h4 { font-family: var(--font-serif); font-size: 1rem; color: var(--white); }
.gallery-caption p { font-size: 0.8rem; color: rgba(255,255,255,0.75); }
.group-count {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0.2rem 0.7rem;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.95);
  border-radius: 999px;
  font-size: 0.72rem;
}
.gallery-widget.hidden,
.video-widget.hidden,
.gallery-item.hidden { display: none; }

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  font-size: 2.5rem;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.play-btn:hover { background: rgba(15,132,202,0.6); }
.video-info { padding: 1rem 1.2rem 1.2rem; }
.video-info h4 { font-family: var(--font-serif); font-size: 1.05rem; color: var(--maroon-d); margin-bottom: 0.3rem; }
.video-info p { font-size: 0.85rem; color: var(--text-light); }
.video-duration {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--cream-d);
  border-radius: 50px;
  padding: 0.2rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--maroon);
}

/* Playlist */
.playlist-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}
.playlist-featured h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--maroon-d);
  margin-bottom: 1.5rem;
}
.playlist-player {
  background: var(--maroon-d);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.now-playing {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.np-art {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.np-info { flex: 1; }
.np-info h4 { font-family: var(--font-serif); font-size: 1.05rem; color: var(--white); }
.np-info p { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.np-controls {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.np-controls button {
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}
.np-controls button:hover { background: var(--gold); color: var(--maroon-d); }
.play-pause { background: var(--gold) !important; color: var(--maroon-d) !important; }
.progress-wrap { width: 100%; }
.progress-bar-audio {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.progress-fill {
  height: 100%;
  background: var(--gold);
  width: 30%;
  border-radius: 4px;
  animation: progressPulse 5s ease-in-out infinite;
}
@keyframes progressPulse { 0%{width:0%} 100%{width:100%} }
.time-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.track-list { display: flex; flex-direction: column; gap: 0.3rem; }
.track-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}
.track-item:hover { background: rgba(15,132,202,0.08); border-color: var(--cream-d); }
.track-item.active { background: rgba(15,132,202,0.12); border-color: var(--gold); }
.track-num {
  width: 22px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 700;
  text-align: center;
}
.track-item.active .track-num { display: none; }
.track-playing {
  display: none;
  color: var(--gold);
  animation: bounce 0.6s ease infinite alternate;
}
.track-item.active .track-playing { display: block; }
@keyframes bounce { to { transform: scale(1.3); } }
.track-info strong { display: block; font-size: 0.92rem; color: var(--maroon-d); }
.track-info small { font-size: 0.8rem; color: var(--text-light); }
.playlist-sidebar h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--maroon-d); margin-bottom: 1rem; }
.playlist-card-sm {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--cream-d);
  cursor: pointer;
  transition: var(--transition);
}
.playlist-card-sm:hover { border-color: var(--gold); transform: translateX(4px); }
.pl-thumb {
  width: 48px; height: 48px;
  background: var(--cream-d);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.pl-info h4 { font-size: 0.9rem; font-weight: 700; color: var(--maroon-d); }
.pl-info p { font-size: 0.78rem; color: var(--text-light); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem 1rem;
}
.lightbox.open { display: flex;}
.lightbox-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: min(100%, 1100px);
  max-width: 1100px;
}
.lightbox-slider {
  width: 100%;
  max-width: 920px;
  position: relative;
  overflow: hidden;
}
.lightbox-slide {
  display: none;
  width: 100%;
  text-align: center;
}
.lightbox-slide.active { display: block; }
.lightbox-slide img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
  margin: 0 auto;
}
.video-slide-thumb {
  position: relative;
  display: inline-block;
  width: 100%;
}
.video-slide-thumb img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.slide-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 1.8rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.slide-play:hover {
  transform: translate(-50%, -50%) scale(1.05);
  background: rgba(0, 0, 0, 0.72);
}

.lightbox-nav {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.22); }
.lightbox-nav:disabled {
  opacity: 0.4;
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 1.2rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox-caption {
  color: rgba(255,255,255,0.9);
  margin-top: 1.5rem;
  text-align: center;
}
.lightbox-caption-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.lightbox-caption-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.5;
  font-size: 1.1rem;
  text-align: center;
  max-width: 920px;
}
.lightbox-counter {
  color: rgba(255,255,255,0.75);
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.video-modal.open { display: flex; }
.video-modal-inner {
  position: relative;
  width: 90vw;
  max-width: 900px;
  aspect-ratio: 16/9;
}
.video-modal-close {
  position: absolute;
  top: -3rem; right: 0;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 1.2rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
}
#videoFrame { width: 100%; height: 100%; border-radius: 8px; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-nav {
  background: var(--white);
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 6%;
  flex-wrap: wrap;
  position: sticky;
  top: 70px;
  z-index: 100;
  border-bottom: 1px solid var(--cream-d);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.svc-nav-btn {
  padding: 0.65rem 1.8rem;
  border: 2px solid var(--cream-d);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
  background: transparent;
  cursor: pointer;
}
.svc-nav-btn:hover { background: var(--maroon-d); border-color: var(--maroon-d); color: var(--white); }

.service-section {
  padding: 7rem 6%;
  background: var(--cream);
}
.service-section.alt { background: var(--cream-d); }
.service-inner { max-width: 1100px; margin: 0 auto; position: relative; }
.service-badge {
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--cream-d);
  position: absolute;
  top: -2rem; right: 0;
  line-height: 1;
  font-weight: 900;
  pointer-events: none;
  z-index: 0;
}
.service-section.alt .service-badge { color: var(--cream); }
.service-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.service-icon-lg { font-size: 4rem; }
.service-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem,3vw,2.4rem);
  color: var(--maroon-d);
}
.service-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.service-content-grid.reverse { direction: rtl; }
.service-content-grid.reverse > * { direction: ltr; }
.service-text p { color: var(--text-light); margin-bottom: 1rem; line-height: 1.8; }
.service-text h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--maroon-d);
  margin: 1.5rem 0 0.7rem;
}
.service-list { display: flex; flex-direction: column; gap: 0.5rem; }
.service-list li {
  font-size: 0.95rem;
  color: var(--text-light);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--cream-d);
}
.service-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.service-images img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.service-stats-row {
  display: flex;
  gap: 2rem;
  margin: 3rem 0 2rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.svc-stat {
  flex: 1;
  text-align: center;
  padding: 1rem;
  border-right: 1px solid var(--cream-d);
}
.svc-stat:last-child { border-right: none; }
.svc-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--maroon);
}
.svc-stat span { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.service-cta { position: relative; z-index: 1; }
.service-cta p { margin-bottom: 1rem; color: var(--text-light); }

.kirtan-schedule {
  background: rgba(15,132,202,0.08);
  border: 1px solid rgba(15,132,202,0.25);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin-top: 1.5rem;
}
.kirtan-schedule h4 { margin: 0 0 0.8rem !important; }
.kirtan-schedule p { font-size: 0.9rem; margin-bottom: 0.4rem !important; }

.emergency-box {
  background: var(--maroon-d);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}
.emergency-box h4 { font-family: var(--font-serif); font-size: 1.1rem; color: var(--white); margin-bottom: 0.4rem; }
.emergency-box p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 0.8rem; }
.emergency-number {
  display: inline-block;
  background: var(--gold);
  color: var(--maroon-d);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ============================================================
   DONATION PAGE
   ============================================================ */
.why-donate {
  padding: 6rem 6%;
  background: var(--cream);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.impact-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--cream-d);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.impact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.impact-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.impact-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--maroon);
  margin-bottom: 0.5rem;
}
.impact-card p { font-size: 0.88rem; color: var(--text-light); }

.donation-section {
  padding: 5rem 6%;
  background: var(--cream-d);
}
.donation-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.donation-form-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}
.donation-form-panel h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--maroon-d);
  margin-bottom: 0.3rem;
}
.form-sub { font-size: 0.85rem; color: var(--gold); font-weight: 600; margin-bottom: 2rem; }
.field-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--maroon-d);
  letter-spacing: 0.5px;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.cause-btns, .amount-btns, .freq-btns, .payment-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.cause-btn, .amount-btn, .freq-btn, .pay-btn {
  padding: 0.55rem 1.1rem;
  border: 2px solid var(--cream-d);
  border-radius: 50px;
  background: var(--cream);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}
.cause-btn:hover, .amount-btn:hover, .freq-btn:hover, .pay-btn:hover {
  border-color: var(--gold);
  color: var(--maroon-d);
}
.cause-btn.active, .amount-btn.active, .freq-btn.active, .pay-btn.active {
  background: var(--maroon-d);
  border-color: var(--maroon-d);
  color: var(--white);
}
.amount-btn { font-family: var(--font-display); font-size: 0.9rem; }

.custom-amount-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.8rem;
}
.custom-amount-wrap label { font-size: 0.85rem; color: var(--text-light); white-space: nowrap; }
.custom-input-wrap {
  display: flex;
  align-items: center;
  background: var(--cream);
  border: 2px solid var(--cream-d);
  border-radius: 50px;
  overflow: hidden;
  flex: 1;
}
.currency-symbol {
  padding: 0.5rem 0.8rem;
  font-weight: 700;
  color: var(--maroon);
  font-family: var(--font-display);
}
.custom-input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.5rem 0.8rem;
  outline: none;
  color: var(--text);
}

.donor-form { margin-top: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1/-1; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-light); }
.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--cream-d);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--cream);
  outline: none;
  transition: var(--transition);
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

.donation-total {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid var(--cream-d);
}
.total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--maroon-d);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.total-row.small { font-size: 0.85rem; color: var(--text-light); font-weight: 400; }

.btn-donate-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg,var(--maroon),var(--maroon-l));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1rem;
}
.btn-donate-submit:hover {
  background: linear-gradient(135deg,var(--maroon-d),var(--maroon));
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15,132,202,0.3);
}
.secure-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.8rem;
}

/* Donation Sidebar */
.donation-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.bank-details, .upi-box, .trust-badges {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.bank-details h3, .upi-box h3, .trust-badges h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--maroon-d);
  margin-bottom: 1rem;
}
.bank-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.bank-table td { padding: 0.5rem 0; border-bottom: 1px solid var(--cream-d); color: var(--text-light); }
.bank-table td:first-child { font-weight: 600; width: 45%; }
.bank-table tr:last-child td { border-bottom: none; }
.qr-placeholder { display: flex; justify-content: center; margin: 1rem 0; }
.qr-mock {
  width: 150px; height: 150px;
  background: var(--cream-d);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--gold);
}
.qr-inner {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--maroon-d);
  background: repeating-linear-gradient(45deg,var(--maroon-d) 0,var(--maroon-d) 2px,transparent 0,transparent 50%);
  background-size: 6px 6px;
  width: 90px; height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: white;
  font-size: 0.8rem;
}
.upi-id { text-align: center; font-size: 0.9rem; color: var(--text-light); }
.trust-item {
  font-size: 0.88rem;
  color: var(--text-light);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--cream-d);
}
.trust-item:last-child { border-bottom: none; }

/* Testimonials */
.testimonials {
  padding: 6rem 6%;
  background: var(--cream);
}
.testimonial-slider-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
  position: relative;
}
.testimonial-slider {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.testimonial-grid {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
  padding: 1rem 0;
  width: 100%;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
  transition: var(--transition);
  flex: 0 0 calc(33.333% - 1.333rem);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-card p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.7;
}
.testimonial-card cite { font-size: 0.85rem; color: var(--gold); font-weight: 700; }
.testimonial-slider-wrap .slider-btn {
  background: var(--gold);
  color: var(--maroon-d);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.testimonial-slider-wrap .slider-btn:hover {
  background: var(--maroon-d);
  color: var(--gold);
  transform: scale(1.1);
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.slider-dots .dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(139,26,26,0.2);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dots .dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* Mobile: 1 card */
@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(100% - 0rem);
  }
  .testimonial-slider-wrap {
    gap: 1rem;
  }
  .testimonial-slider-wrap .slider-btn {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }
}

/* Tablet: 2 cards */
@media (min-width: 769px) and (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
  }
}

/* Donation Modal */
.donation-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.donation-modal.open { display: flex; }
.donation-modal-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  max-width: 500px;
  width: 90%;
  animation: popIn 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
}
@keyframes popIn {
  from { opacity:0; transform:scale(0.8); }
  to   { opacity:1; transform:scale(1); }
}
.success-animation {
  font-size: 5rem;
  animation: pulse 1s ease infinite alternate;
}
@keyframes pulse { to { transform:scale(1.15); } }
.donation-modal-inner h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--maroon-d);
  margin: 1rem 0 0.5rem;
}
.donation-modal-inner p { color: var(--text-light); margin-bottom: 0.5rem; }
.receipt-note {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.5rem !important;
}

/* ============================================================
   ANIMATIONS & UTILITIES
   ============================================================ */
@keyframes fadeIn {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}
.fade-in { animation: fadeIn 0.7s ease both; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .highlights-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .mv-grid { grid-template-columns: 1fr; gap: 1rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge { bottom: -1rem; right: 0; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .video-grid { grid-template-columns: repeat(2,1fr); }
  .playlist-grid { grid-template-columns: 1fr; }
  .playlist-sidebar { display: grid; grid-template-columns: 1fr; }
  .service-content-grid { grid-template-columns: 1fr; }
  .service-content-grid.reverse { direction: ltr; }
  .impact-grid { grid-template-columns: repeat(2,1fr); }
  .donation-wrap { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 1rem 5%; }
  .hamburger { display: flex; z-index: 99999; color: var(--maroon-d); }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--maroon-d);
    padding: 6rem 2rem 2rem;
    gap: 0.5rem;
    overflow-y: auto;
    z-index: 999;
  }
  .nav-links.open { display: flex; background: var(--gold-pale); height: 100vh;}
  .nav-links li {width: 100%;}
  .nav-links li a { font-size: 1rem; padding: 0.8rem 1rem; display: block; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.05);
    margin-top: 0.3rem;
    border-radius: 8px;
  }
  .slide-content { left: 5%; right: 5%; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 1rem; }
  .highlights-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .tl-item, .tl-item.right {
    padding: 0 0 0 3rem;
    justify-content: flex-start;
  }
  .timeline::before { left: 10px; }
  .tl-dot { left: 10px; }
  .tl-card.right { border-right: none; border-left: 4px solid var(--gold); }
  .service-stats-row { flex-direction: column; gap: 0; }
  .svc-stat { border-right: none; border-bottom: 1px solid var(--cream-d); }
  .svc-stat:last-child { border-bottom: none; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .services-nav { top: 58px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .slide-title { font-size: 1.8rem; }
  .slide-actions { flex-direction: column; }
  .donation-form-panel { padding: 1.5rem; }
}

.d-none { display: none !important; }

.about-new {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333333;
            background-color: #fcf6ef;
            margin: 0;
            padding: 20px;
        }
       .about-new .container {
            max-width: 800px;
            margin: 0 auto;
            background: #ffffff;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            border-top: 6px solid #e86c00;
        }
      .about-new h1 {
            color: #d14b00;
            text-align: center;
            font-size: 2em;
            margin-bottom: 10px;
        }
       .about-new .quote {
            font-style: italic;
            text-align: center;
            font-size: 1.2em;
            color: #d14b00;
            margin-bottom: 30px;
            font-weight: 600;
        }
      .about-new p {
            font-size: 1.05em;
            margin-bottom: 20px;
            text-align: justify;
        }
      .about-new ul {
            list-style-type: none;
            padding: 0;
            margin: 20px 0;
        }
       .about-new li {
            margin-bottom: 12px;
            font-size: 1.1em;
            font-weight: 500;
            color: #444;
        }
       .about-new .contact-box {
            background-color: #fff3e6;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            margin-top: 30px;
            border: 1px solid #fbdcbb;
        }
       .about-new .contact-box p {
            margin: 0;
            text-align: center;
            font-size: 1.1em;
        }
        .about-new .footer {
            text-align: center;
            font-size: 1.4em;
            color: #d14b00;
            margin-top: 30px;
            font-weight: bold;
        }

        .achi {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333333;
            background-color: #fcf6ef;
            margin: 0;
            padding: 20px;
        }
       .achi .container {
            max-width: 800px;
            margin: 0 auto;
            background: #ffffff;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            border-top: 6px solid #e86c00;
        }
       .achi h1, .achi h2 {
            color: #d14b00;
            text-align: center;
        }
       .achi h1 {
            font-size: 2em;
            margin-bottom: 10px;
        }
       .achi h2 {
            font-size: 1.6em;
            margin-top: 40px;
            border-bottom: 2px dashed #fbdcbb;
            padding-bottom: 10px;
        }
       .achi .quote {
            font-style: italic;
            text-align: center;
            font-size: 1.2em;
            color: #d14b00;
            margin-bottom: 30px;
            font-weight: 600;
        }
       .achi p {
            font-size: 1.05em;
            margin-bottom: 20px;
            text-align: justify;
        }
       .achi .services-list {
            list-style-type: none;
            padding: 0;
            margin: 20px 0;
        }
       .achi .services-list li {
            margin-bottom: 12px;
            font-size: 1.1em;
            font-weight: 500;
            color: #444;
        }
        
        /* Achievements Section Styles */
       .achi .achievements-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-top: 20px;
        }
       .achi .achievement-card {
            background-color: #fff9f2;
            padding: 15px;
            border-radius: 8px;
            border-left: 4px solid #e86c00;
            font-size: 1.05em;
            box-shadow: 0 2px 5px rgba(0,0,0,0.03);
        }
       .achi .achievement-card span {
            font-weight: bold;
            color: #d14b00;
            font-size: 1.2em;
        }
       .achi .achievement-full {
            grid-column: span 2;
        }

       .achi .contact-box {
            background-color: #fff3e6;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            margin-top: 40px;
            border: 1px solid #fbdcbb;
        }
       .achi .contact-box p {
            margin: 0;
            text-align: center;
            font-size: 1.1em;
        }
       .achi .footer {
            text-align: center;
            font-size: 1.4em;
            color: #d14b00;
            margin-top: 30px;
            font-weight: bold;
        }

        /* Responsive layout for mobile */
        @media (max-width: 600px) {
          .achi  .achievements-grid {
                grid-template-columns: 1fr;
            }
           .achi .achievement-full {
                grid-column: span 1;
            }
        }