/* ==========================================================================
   KULDEVI MAA MASURIYA BHAWANI TRUST - INDIAN SPIRITUAL & NGO DESIGN SYSTEM
   Colors: Sacred Saffron (Kesariya), Temple Crimson Maroon, Royal Haldi Gold, Warm Ivory
   ========================================================================== */

:root {
  --kesariya: #E65100;
  --kesariya-light: #FF9800;
  --kesariya-dark: #BF360C;
  --kesariya-glow: rgba(230, 81, 0, 0.25);
  
  --maroon: #7B1113;
  --maroon-dark: #4A0007;
  --maroon-light: #990000;
  
  --gold: #D4AF37;
  --gold-light: #F9E076;
  --gold-dark: #AA771C;
  --gold-gradient: linear-gradient(135deg, #FFF2A3 0%, #D4AF37 50%, #AA771C 100%);
  
  --bg-cream: #FDFBF7;
  --bg-cream-alt: #F7F1E5;
  --card-bg: #FFFFFF;
  --border-color: #EBDDCB;
  
  --text-dark: #201815;
  --text-muted: #5C524C;
  --text-light: #8C8077;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(32, 24, 21, 0.06);
  --shadow-md: 0 8px 24px rgba(32, 24, 21, 0.08);
  --shadow-lg: 0 16px 40px rgba(32, 24, 21, 0.12);
  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.25);
  --shadow-kesariya: 0 8px 25px rgba(230, 81, 0, 0.3);
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Mukta', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', 'Rozha One', 'Georgia', serif;
  color: var(--maroon);
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--kesariya);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--maroon);
}

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

/* MANDATORY RULE: Logo Must NEVER have a border */
.logo-img,
.header-logo img,
.footer-logo img,
.brand-logo img,
img.circular-logo,
.receipt-watermark,
.receipt-header .header-logo img {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 50%;
  background: transparent !important;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Header Motif */
.section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.shloka-tag {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--kesariya);
  letter-spacing: 1.5px;
  background: rgba(230, 81, 0, 0.08);
  padding: 4px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid rgba(230, 81, 0, 0.2);
}

.section-title {
  font-size: 2.3rem;
  color: var(--maroon);
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 16px;
}

.section-title::after {
  content: "❖ ❖ ❖";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 6px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
.top-bar {
  background: var(--maroon-dark);
  color: #F7E7CE;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--gold);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar a {
  color: #F7E7CE;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar a:hover {
  color: var(--gold-light);
}

.top-bar .shloka-motto {
  font-size: 0.88rem;
  color: var(--gold-light);
  font-style: italic;
}

/* Main Header */
.main-header {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(74, 0, 7, 0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.main-header.scrolled {
  box-shadow: 0 6px 25px rgba(74, 0, 7, 0.12);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-wrapper .header-logo img {
  width: 64px;
  height: 64px;
  transition: transform 0.3s ease;
}

.brand-wrapper:hover .header-logo img {
  transform: rotate(5deg) scale(1.03);
}

.brand-text h1 {
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--maroon);
  letter-spacing: 0.5px;
  margin: 0;
}

.brand-text p {
  font-size: 0.78rem;
  color: var(--kesariya);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--kesariya), var(--gold));
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--kesariya);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* Header Right Controls */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn,
.btn-primary,
.btn-secondary,
.btn-donate-nav,
.donate-btn,
.btn-card-donate,
.btn-card-view,
.btn-amount,
.btn-submit-donation {
  white-space: nowrap !important;
}

.btn-donate-nav {
  background: linear-gradient(135deg, var(--kesariya), #D84315);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(230, 81, 0, 0.35);
  transition: var(--transition);
  white-space: nowrap !important;
  text-decoration: none;
}

.btn-donate-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 81, 0, 0.45);
  background: linear-gradient(135deg, #FF6F00, #BF360C);
  color: #FFFFFF !important;
}

.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--maroon);
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}

/* ==========================================================================
   HERO BANNER & SLIDER
   ========================================================================== */
.hero-slider-section {
  position: relative;
  background: var(--maroon-dark);
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 580px;
}

.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.slide-item.active {
  opacity: 1;
  visibility: visible;
}

.slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(40, 5, 8, 0.85) 0%, rgba(40, 5, 8, 0.45) 50%, rgba(40, 5, 8, 0.2) 100%);
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 720px;
  color: #FFFFFF;
  padding: 0 20px;
}

.hero-subtitle-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 3.2rem;
  color: #FFFFFF;
  margin-bottom: 18px;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-title span {
  color: var(--gold-light);
}

.hero-description {
  font-size: 1.15rem;
  color: #F1EAE2;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--kesariya), #C23616);
  color: white;
  padding: 14px 34px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-kesariya);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(230, 81, 0, 0.45);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: white;
  color: var(--maroon);
  border-color: white;
  transform: translateY(-3px);
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--kesariya);
  border-color: var(--kesariya);
}

.slider-prev { left: 25px; }
.slider-next { right: 25px; }

.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  width: 32px;
  border-radius: var(--radius-full);
  background: var(--kesariya);
}

/* ==========================================================================
   IMPACT STATS COUNTER STRIP
   ========================================================================== */
.stats-strip {
  background: linear-gradient(135deg, var(--maroon), #550007);
  color: white;
  padding: 40px 0;
  position: relative;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 10px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(212, 175, 55, 0.3);
}

.stat-icon {
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.stat-number {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.95rem;
  color: #FFDFBA;
  font-weight: 500;
}

/* ==========================================================================
   WELCOME & ABOUT SECTION
   ========================================================================== */
.about-section {
  padding: 90px 0;
  background: var(--bg-cream);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-stack {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  border: 5px solid white;
}

.about-experience-badge {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: linear-gradient(135deg, var(--kesariya), #C23616);
  color: white;
  padding: 22px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-kesariya);
  text-align: center;
  border: 3px solid white;
}

.about-experience-badge .badge-num {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.about-experience-badge .badge-text {
  font-size: 0.85rem;
  font-weight: 600;
}

.about-content h4 {
  color: var(--kesariya);
  font-size: 1.05rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.about-content h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 18px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 25px 0;
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.feature-box i {
  color: var(--kesariya);
  font-size: 1.3rem;
}

.feature-box span {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ==========================================================================
   WHAT WE DO / PROGRAMS GRID
   ========================================================================== */
.programs-section {
  padding: 90px 0;
  background: var(--bg-cream-alt);
  position: relative;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.program-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(123, 17, 19, 0.12);
  border-color: var(--kesariya);
}

.program-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.program-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-thumb img {
  transform: scale(1.08);
}

.program-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(74, 0, 7, 0.85);
  color: var(--gold-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  border: 1px solid var(--gold);
}

.program-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.program-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--maroon);
}

.program-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.program-actions {
  display: flex;
  gap: 10px;
}

.btn-card-view {
  flex: 1;
  text-align: center;
  padding: 10px 14px;
  border: 1px solid var(--kesariya);
  color: var(--kesariya);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-card-view:hover {
  background: rgba(230, 81, 0, 0.08);
}

.btn-card-donate {
  flex: 1;
  text-align: center;
  padding: 10px 14px;
  background: var(--kesariya);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-card-donate:hover {
  background: #BF360C;
  color: white;
}

/* ==========================================================================
   CALL TO ACTION DONATION BANNER
   ========================================================================== */
.cta-donate-section {
  padding: 90px 0;
  position: relative;
  background-image: linear-gradient(rgba(40, 5, 8, 0.85), rgba(40, 5, 8, 0.85)), url('../images/donate.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  text-align: center;
}

.cta-box {
  max-width: 820px;
  margin: auto;
}

.cta-box h2 {
  color: white;
  font-size: 2.8rem;
  margin-bottom: 18px;
}

.cta-box p {
  font-size: 1.15rem;
  color: #F7EBE2;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery-section {
  padding: 90px 0;
  background: var(--bg-cream);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.filter-btn {
  background: white;
  border: 1px solid var(--border-color);
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--maroon);
  color: white;
  border-color: var(--maroon);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 250px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74, 0, 7, 0.85) 0%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;
  color: white;
  font-size: 2.2rem;
  cursor: pointer;
}

/* ==========================================================================
   DONATION PAGE STYLES
   ========================================================================== */
.donation-page-section {
  padding: 60px 0 100px;
  background: var(--bg-cream);
}

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

.donate-form-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 35px;
}

.form-step-title {
  font-size: 1.25rem;
  color: var(--maroon);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-step-title .step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--kesariya);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
}

/* Amount Selector Grid */
.amount-btn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.btn-amount {
  background: #FAF6EF;
  border: 2px solid var(--border-color);
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.btn-amount:hover,
.btn-amount.active {
  background: #FFF3E0;
  border-color: var(--kesariya);
  color: var(--kesariya);
  box-shadow: 0 4px 12px rgba(230, 81, 0, 0.15);
}

.custom-amount-wrap {
  position: relative;
  margin-bottom: 25px;
}

.currency-sym {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--kesariya);
}

.input-custom-amount {
  width: 100%;
  padding: 14px 16px 14px 45px;
  font-size: 1.2rem;
  font-weight: 700;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #FFFDF9;
  font-family: inherit;
  transition: var(--transition);
}

.input-custom-amount:focus {
  outline: none;
  border-color: var(--kesariya);
  box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.15);
}

/* Form Fields */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-label .required {
  color: #D32F2F;
}

.form-label .optional {
  color: #777;
  font-weight: 400;
  font-size: 0.82rem;
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #FFFDF9;
  font-family: inherit;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--kesariya);
  box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.12);
}

/* 10-Digit Mobile Live Validation Feedback */
.mobile-input-wrap {
  position: relative;
}

.mobile-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: #666;
  font-size: 0.95rem;
}

.input-mobile {
  padding-left: 54px !important;
  letter-spacing: 1px;
}

.mobile-validation-indicator {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
}

.text-valid { color: #2E7D32; }
.text-invalid { color: #C62828; }

.validation-hint {
  font-size: 0.8rem;
  margin-top: 4px;
  display: block;
}

/* Gateway Selection Radio Tabs */
.gateway-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
}

.gateway-card-option {
  position: relative;
}

.gateway-card-option input {
  display: none;
}

.gateway-card-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: #FFFDF9;
  transition: var(--transition);
}

.gateway-card-option input:checked + .gateway-card-label {
  border-color: var(--kesariya);
  background: #FFF8EE;
  box-shadow: 0 4px 15px rgba(230, 81, 0, 0.15);
}

.gateway-card-label .gw-icon {
  font-size: 1.8rem;
  color: var(--kesariya);
}

.gateway-card-label .gw-info h5 {
  font-size: 0.95rem;
  margin-bottom: 2px;
  color: var(--dark);
}

.gateway-card-label .gw-info p {
  font-size: 0.78rem;
  color: #666;
  margin: 0;
}

.btn-submit-donation {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--kesariya), #C23616);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-kesariya);
  transition: var(--transition);
}

.btn-submit-donation:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230, 81, 0, 0.45);
}

/* Sidebar Info Card */
.donate-sidebar-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 30px;
  margin-bottom: 25px;
}

.bank-detail-box {
  background: #FDF9F2;
  border: 1px dashed var(--gold);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 15px;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.88rem;
  border-bottom: 1px dotted #EADBCC;
}

.bank-row:last-child {
  border-bottom: none;
}

.bank-row .lbl { color: #666; }
.bank-row .val { font-weight: 600; color: var(--text-dark); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #3A0005 0%, #200003 100%);
  color: #E2D7CC;
  padding: 80px 0 25px;
  border-top: 4px solid var(--gold);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-widget-title {
  color: var(--gold-light);
  font-size: 1.25rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 2px;
  background: var(--gold);
}

.footer-brand .footer-logo img {
  width: 75px;
  height: 75px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #CCC1B6;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #D6CBC0;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: #D6CBC0;
}

.footer-contact-list i {
  color: var(--gold);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
  color: #A3968A;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
}

.footer-legal-links a {
  color: #A3968A;
}

.footer-legal-links a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   FLOATING QUICK ACTION BUTTONS (CALL & WHATSAPP)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 25px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  transition: var(--transition);
  animation: floatPulse 2s infinite ease-in-out;
}

.float-whatsapp {
  background: #25D366;
}

.float-call {
  background: var(--kesariya);
}

.float-btn:hover {
  transform: scale(1.1);
  color: white;
}

@keyframes floatPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .donate-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-left, .top-bar-right {
    justify-content: center;
  }
  .top-bar .container {
    justify-content: center;
  }
  
  .header-container {
    padding: 10px 15px;
  }

  .brand-wrapper {
    gap: 10px;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-wrapper .header-logo img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .brand-text h1 {
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
  }

  .brand-text p {
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
  }

  .header-right {
    gap: 8px;
    flex-shrink: 0;
  }

  .btn-donate-nav {
    padding: 8px 14px;
    font-size: 0.82rem;
    gap: 6px;
    white-space: nowrap !important;
  }

  .mobile-toggle-btn {
    display: block;
    padding: 4px;
    font-size: 1.4rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: left 0.35s ease;
    z-index: 1000;
    gap: 15px;
  }
  
  .nav-menu.active {
    left: 0;
  }

  .nav-menu a {
    font-size: 1.05rem;
    width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-experience-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 15px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .amount-btn-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row-2, .gateway-choice-grid {
    grid-template-columns: 1fr;
  }

  .donate-form-card {
    padding: 24px 18px !important;
  }

  .btn-submit-donation {
    font-size: 1rem !important;
    padding: 13px 18px !important;
    white-space: nowrap !important;
  }

  .btn-primary, .btn-secondary, .btn-card-donate, .btn-card-view {
    white-space: nowrap !important;
  }

  .hero-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-btn-group .btn-primary,
  .hero-btn-group .btn-secondary {
    padding: 11px 20px;
    font-size: 0.92rem;
    white-space: nowrap !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .policy-content {
    padding: 25px 20px !important;
  }
}

@media (max-width: 480px) {
  .brand-text h1 {
    font-size: 0.92rem;
    max-width: 150px;
  }
  .brand-text p {
    font-size: 0.62rem;
    max-width: 150px;
  }
  .btn-donate-nav {
    padding: 7px 11px;
    font-size: 0.78rem;
    gap: 4px;
    white-space: nowrap !important;
  }
  .hero-btn-group .btn-primary,
  .hero-btn-group .btn-secondary {
    padding: 9px 14px;
    font-size: 0.82rem;
    white-space: nowrap !important;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-slider-section .slider-container {
    height: 480px;
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Policy Content Section (Standard spcfoi layout) */
.policy-section {
  padding: 60px 0 90px;
  background: var(--bg-cream);
}

.policy-content {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 45px 50px;
  max-width: 950px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.45rem;
  color: var(--maroon);
  margin-top: 30px;
  margin-bottom: 12px;
  font-weight: 700;
  border-bottom: 1px solid #F0E5D8;
  padding-bottom: 6px;
}

.policy-content p,
.policy-content li {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 14px;
}

.policy-content ul {
  padding-left: 22px;
  margin-bottom: 20px;
}

.policy-content li {
  margin-bottom: 8px;
}
