/* ==========================================================================
   WOMENVISION.IN - UI COMPONENTS & INTERACTIVE STYLES
   100% Fully Responsive (Mobile, Tablet, Desktop)
   ========================================================================== */

/* Glassmorphic Card Container */
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem;
  box-shadow: var(--shadow-cinematic);
  transition: var(--transition-smooth);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.glass-panel:hover {
  border-color: var(--glass-border-glow);
  box-shadow: var(--shadow-hover);
}

/* 3D Tilt Cards */
.tilt-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 8px 25px rgba(11, 25, 44, 0.04);
  transition: transform 0.1s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  width: 100%;
  box-sizing: border-box;
}

.tilt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 44, 140, 0.08), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.tilt-card:hover::before {
  opacity: 1;
}

.tilt-card:hover {
  border-color: rgba(0, 44, 140, 0.35);
  box-shadow: var(--shadow-hover);
}

.tilt-content {
  position: relative;
  z-index: 2;
  transform: translateZ(25px);
}

/* 3D Pillar Icons */
.pillar-icon-box {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff 0%, #fbe8f1 100%);
  border: 1px solid var(--color-magenta-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-magenta);
  box-shadow: 0 6px 16px rgba(0, 44, 140, 0.1);
  transition: var(--transition-smooth);
}

.tilt-card:hover .pillar-icon-box {
  transform: scale(1.06) translateZ(35px);
  background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-plum) 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 44, 140, 0.3);
}

.pillar-icon-box svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   DEDICATED WOMEN & NGO ANIMATION: SHAKTI CHAKRA (CYCLE OF EMPOWERMENT)
   ========================================================================== */
.shakti-animation-section {
  background: linear-gradient(180deg, #ffffff 0%, #fcf6fb 50%, #f7edf6 100%);
  border-top: 1px solid rgba(0, 44, 140, 0.12);
  border-bottom: 1px solid rgba(0, 44, 140, 0.12);
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
  width: 100%;
  box-sizing: border-box;
}

.shakti-animation-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 44, 140, 0.07) 0%, rgba(217, 119, 6, 0.04) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.shakti-stage-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
}

/* Interactive Bloom / Canvas Container */
.shakti-mandala-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
}

.shakti-mandala-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.mandala-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Central Empowered Woman Glowing Icon / Women Vision Emblem */
.shakti-center-avatar {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(0, 44, 140, 0.45);
  border: 3.5px solid #002c8c;
  z-index: 5;
  animation: pulseScale 3s infinite alternate ease-in-out;
  cursor: pointer;
  overflow: hidden;
  padding: 8px;
  box-sizing: border-box;
}

.shakti-center-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

.shakti-center-avatar svg {
  width: 40px;
  height: 40px;
}

.shakti-center-avatar span {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

@keyframes pulseScale {
  0% { transform: scale(0.96); box-shadow: 0 0 25px rgba(0, 44, 140, 0.35); }
  100% { transform: scale(1.04); box-shadow: 0 0 45px rgba(0, 44, 140, 0.6); }
}

/* Desktop Orbiting Nodes (Shifted outside mandala petals for full visibility) */
@media (min-width: 769px) {
  .shakti-nodes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .shakti-node-btn {
    pointer-events: auto;
    position: absolute;
    padding: 0.5rem 1.05rem;
    border-radius: 9999px;
    background: #ffffff;
    border: 1.5px solid rgba(11, 25, 44, 0.15);
    color: var(--color-text-main);
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(11, 25, 44, 0.08);
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 6;
    white-space: nowrap;
  }
  .shakti-node-btn:hover, .shakti-node-btn.active {
    background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-plum) 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(0, 44, 140, 0.35);
  }
  .shakti-node-btn.node-1 { top: -20px; left: 50%; transform: translateX(-50%); }
  .shakti-node-btn.node-2 { right: -95px; top: 50%; transform: translateY(-50%); }
  .shakti-node-btn.node-3 { bottom: -20px; left: 50%; transform: translateX(-50%); }
  .shakti-node-btn.node-4 { left: -95px; top: 50%; transform: translateY(-50%); }

  .shakti-node-btn.active.node-1 { transform: translateX(-50%) scale(1.08); }
  .shakti-node-btn.active.node-2 { transform: translateY(-50%) scale(1.08); }
  .shakti-node-btn.active.node-3 { transform: translateX(-50%) scale(1.08); }
  .shakti-node-btn.active.node-4 { transform: translateY(-50%) scale(1.08); }
}

/* Story Card Beside Animation */
.shakti-story-card {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid var(--color-magenta-border);
  padding: 2.25rem;
  box-shadow: 0 16px 40px rgba(11, 25, 44, 0.08);
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.stage-step-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  background: var(--color-magenta-light);
  color: var(--color-magenta);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.stage-story-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--color-plum);
  font-weight: 800;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.stage-story-hindi {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-magenta);
  margin-bottom: 1rem;
}

.stage-story-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.stage-metric-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid rgba(0, 44, 140, 0.15);
  margin-bottom: 1.5rem;
}

.stage-metric-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-magenta);
  font-family: var(--font-heading);
}

.shakti-progress-bar {
  height: 6px;
  background: #ede4eb;
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 1.25rem;
}

.shakti-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-magenta), var(--color-gold));
  border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   DONATION WIDGET (100% FLUID RESPONSIVE)
   ========================================================================== */
.donation-widget {
  background: #ffffff;
  border: 1px solid var(--color-magenta-border);
  border-radius: 28px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 16px 45px rgba(11, 25, 44, 0.08);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.donation-frequency-toggle {
  display: flex;
  width: 100%;
  max-width: 440px;
  margin: 0 auto 1.75rem;
  padding: 0.3rem;
  background: #f1f5f9;
  border-radius: 9999px;
  border: 1px solid rgba(11, 25, 44, 0.08);
  box-sizing: border-box;
}

.frequency-btn {
  flex: 1;
  padding: 0.6rem 0.5rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: clamp(0.76rem, 2.5vw, 0.88rem);
  cursor: pointer;
  transition: var(--transition-snappy);
  white-space: nowrap;
  text-align: center;
}

.frequency-btn.active {
  background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-plum) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 44, 140, 0.3);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.amount-card {
  padding: 1rem 0.6rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(11, 25, 44, 0.1);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  min-width: 0;
  box-sizing: border-box;
}

.amount-card:hover {
  background: #eff6ff;
  border-color: var(--color-magenta);
  transform: translateY(-2px);
}

.amount-card.active {
  background: #eff6ff;
  border-color: var(--color-magenta);
  box-shadow: 0 0 16px rgba(0, 44, 140, 0.2);
}

.amount-card .val {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  color: var(--color-plum);
  font-family: var(--font-heading);
}

.amount-card .desc {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-amount-wrap {
  position: relative;
  margin-bottom: 1.75rem;
  width: 100%;
  box-sizing: border-box;
}

.custom-amount-wrap span.currency {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-magenta);
}

.custom-amount-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.65rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(11, 25, 44, 0.18);
  color: var(--color-text-main);
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-heading);
  outline: none;
  box-sizing: border-box;
  transition: var(--transition-smooth);
}

.custom-amount-input:focus {
  border-color: var(--color-magenta);
  box-shadow: 0 0 12px rgba(0, 44, 140, 0.18);
}

.impact-summary-box {
  background: #fffbeb;
  border-radius: 16px;
  border: 1px solid rgba(217, 119, 6, 0.25);
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
  box-sizing: border-box;
}

.impact-badge-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
}

.impact-badge-icon svg {
  width: 22px;
  height: 22px;
}

.impact-text-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #92400e;
}

.impact-text-desc {
  font-size: 0.85rem;
  color: #78350f;
  margin-top: 0.15rem;
  line-height: 1.5;
}

.tax-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #065f46;
  font-weight: 600;
}

/* ==========================================================================
   PROGRAMS / INITIATIVES CARDS & FILTER TABS (FLUID RESPONSIVE)
   ========================================================================== */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 3rem;
  width: 100%;
  box-sizing: border-box;
}

.filter-btn {
  padding: 0.55rem 1.3rem;
  border-radius: 9999px;
  border: 1px solid rgba(11, 25, 44, 0.15);
  background: #ffffff;
  color: var(--color-text-muted);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-snappy);
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--color-magenta);
  color: var(--color-magenta);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-plum) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 44, 140, 0.25);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.85rem;
  width: 100%;
  box-sizing: border-box;
}

.program-card {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 25px rgba(11, 25, 44, 0.05);
  transition: var(--transition-smooth);
  width: 100%;
  box-sizing: border-box;
}

.program-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-magenta);
  box-shadow: var(--shadow-hover);
}

.program-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  width: 100%;
  background: #eff6ff;
}

.program-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-img-wrap img {
  transform: scale(1.06);
}

.program-tag-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-magenta);
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  border: 1px solid var(--color-magenta-border);
}

.program-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--color-plum);
  line-height: 1.35;
}

.program-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.program-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(11, 25, 44, 0.08);
}

.program-stat {
  font-size: 0.8rem;
  color: var(--color-gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.program-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-magenta);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: gap 0.2s ease;
}

.program-link:hover {
  gap: 0.55rem;
  color: var(--color-magenta-hover);
}

/* ==========================================================================
   STORIES & TESTIMONIALS CAROUSEL
   ========================================================================== */
.stories-slider-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 44, 140, 0.12);
  box-shadow: 0 16px 45px rgba(0, 44, 140, 0.08);
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  box-sizing: border-box;
}

.story-slide {
  display: none;
  grid-template-columns: 260px 1fr;
  align-items: center;
  min-height: 340px;
  padding: 2.25rem 2.5rem;
  gap: 2.5rem;
  box-sizing: border-box;
}

.story-slide.active {
  display: grid;
}

.story-media {
  position: relative;
  width: 240px;
  height: 280px;
  min-height: 280px;
  max-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 44, 140, 0.16);
  border: 3px solid #ffffff;
  outline: 1px solid rgba(0, 44, 140, 0.12);
  flex-shrink: 0;
  margin: 0 auto;
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.story-content {
  padding: 0;
  box-sizing: border-box;
}

.story-quote-icon {
  width: 36px;
  height: 36px;
  color: #002c8c;
  opacity: 0.35;
  margin-bottom: 1rem;
}

.story-quote {
  font-size: clamp(1.02rem, 1.4vw, 1.25rem);
  font-family: var(--font-serif);
  font-style: italic;
  line-height: 1.65;
  color: var(--color-text-main);
  margin-bottom: 1.25rem;
}

.story-author-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #002c8c;
}

.story-author-role {
  font-size: 0.88rem;
  color: #d97706;
  font-weight: 600;
}

.slider-controls {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  display: flex;
  gap: 0.65rem;
  z-index: 10;
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(11, 25, 44, 0.15);
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: var(--transition-snappy);
}

.slider-btn:hover {
  background: var(--color-magenta);
  border-color: var(--color-magenta);
  color: #ffffff;
  transform: scale(1.05);
}

/* ==========================================================================
   VOLUNTEER APPLICATION WIZARD
   ========================================================================== */
.volunteer-wizard-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2.75rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.volunteer-wizard-container > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.wizard-steps-indicator {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.wizard-step-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-dim);
}

.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f0e6ee;
  color: var(--color-plum);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.wizard-step-pill.active {
  color: var(--color-magenta);
}

.wizard-step-pill.active .step-circle {
  background: var(--color-magenta);
  color: #ffffff;
  box-shadow: 0 0 10px var(--color-magenta-glow);
}

.wizard-step-pill.completed .step-circle {
  background: #10b981;
  color: #ffffff;
}

.wizard-form-step {
  display: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.wizard-form-step.active {
  display: block;
  animation: fadeIn 0.35s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.form-group {
  margin-bottom: 1.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.8rem 1.1rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(11, 25, 44, 0.18);
  color: var(--color-text-main);
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: var(--transition-snappy);
}

select.form-control {
  max-width: 100%;
  word-wrap: normal;
  text-overflow: ellipsis;
}

.form-control:focus {
  border-color: var(--color-magenta);
  box-shadow: 0 0 10px rgba(0, 44, 140, 0.15);
}

.skills-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  width: 100%;
  box-sizing: border-box;
}

.skill-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(11, 25, 44, 0.1);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-main);
  cursor: pointer;
  transition: var(--transition-snappy);
  min-width: 0;
}

.skill-checkbox-label input {
  accent-color: var(--color-magenta);
}

.skill-checkbox-label:hover {
  background: #eff6ff;
  border-color: var(--color-magenta);
}

/* Volunteer Official ID Card - Professional Enterprise Design */
/* Volunteer Official ID Card - Professional Enterprise Design */
.volunteer-card-wrap {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
  min-width: 0;
}

.volunteer-id-pass {
  background: #ffffff;
  border: 2px solid #002c8c;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 44, 140, 0.14);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

/* 1. Header Topbar */
.vol-card-topbar {
  background: linear-gradient(135deg, #002c8c 0%, #0a47a9 100%);
  border-bottom: 3px solid #d97706;
  padding: 12px 16px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
}

.vol-card-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vol-card-logo-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.vol-card-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
}

.vol-card-brand-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vol-card-org-name {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.15;
  margin: 0;
}

.vol-card-org-sub {
  color: #fef08a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.2;
  margin: 2px 0 0 0;
}

.vol-card-org-reg {
  color: #bfdbfe;
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.2;
  margin: 2px 0 0 0;
}

/* Right Badge Pill (Perfect Center Alignment in HTML) */
.vol-card-badge-pill {
  background: #fef3c7;
  border: 1.5px solid #d97706;
  border-radius: 9999px;
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  text-align: center;
}

.vol-card-badge-pill span {
  color: #92400e;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

/* 2. Card Body */
.vol-card-body {
  padding: 16px 16px 14px 16px;
  background: radial-gradient(circle at 90% 10%, rgba(2, 132, 199, 0.04) 0%, #ffffff 70%);
  box-sizing: border-box;
}

.vol-card-profile-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.vol-card-avatar-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.vol-card-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border: 2.5px solid #002c8c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 44, 140, 0.12);
  box-sizing: border-box;
}

.vol-card-avatar svg {
  width: 32px;
  height: 32px;
  color: #002c8c;
  display: block;
}

/* Status Chip (Perfect Center Alignment) */
.vol-card-status-chip {
  background: #ecfdf5;
  border: 1px solid #10b981;
  border-radius: 4px;
  padding: 2px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
}

.vol-card-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #059669;
  display: inline-block;
  margin-right: 5px;
  flex-shrink: 0;
}

.vol-card-status-chip span:last-child {
  font-size: 8.5px;
  font-weight: 800;
  color: #059669;
  letter-spacing: 0.3px;
  line-height: 1;
}

.vol-card-profile-details {
  flex: 1;
}

.vol-card-name {
  font-size: 19px;
  font-weight: 800;
  color: #002c8c;
  line-height: 1.2;
}

.vol-card-role {
  font-size: 13px;
  font-weight: 700;
  color: #d97706;
  margin-top: 3px;
  line-height: 1.25;
}

.vol-card-location {
  font-size: 11.5px;
  color: #475569;
  margin-top: 3px;
  line-height: 1.25;
}

.vol-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  padding-top: 10px;
  border-top: 1px dashed rgba(0, 44, 140, 0.2);
  box-sizing: border-box;
}

.vol-card-field-col {
  display: flex;
  flex-direction: column;
}

.vol-card-field-label {
  color: #64748b;
  font-size: 9px;
  font-weight: 600;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.2;
  margin-bottom: 2px;
}

.vol-card-field-val {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

/* 3. Security Footer Strip (Perfect Baseline Alignments) */
.vol-card-footer-strip {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 8px 16px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
}

.vol-card-barcode-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vol-card-barcode {
  font-family: monospace;
  letter-spacing: 2px;
  font-weight: 800;
  color: #0b192c;
  font-size: 10.5px;
  line-height: 1.15;
}

.vol-card-hq-text {
  font-size: 8.5px;
  color: #64748b;
  line-height: 1.2;
  margin-top: 2px;
}

.vol-card-seal {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.vol-card-seal-icon {
  width: 14px;
  height: 14px;
  color: #002c8c;
  flex-shrink: 0;
  display: block;
}

.vol-card-seal-text {
  font-size: 10px;
  font-weight: 700;
  color: #002c8c;
  line-height: 1;
  white-space: nowrap;
}

.vol-download-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.vol-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.vol-dl-btn-png {
  background: #002c8c;
  color: #ffffff;
}
.vol-dl-btn-png:hover {
  background: #0284c7;
  transform: translateY(-1px);
}

.vol-dl-btn-pdf {
  background: #0b192c;
  color: #fef08a;
  border: 1px solid #d97706;
}
.vol-dl-btn-pdf:hover {
  background: #1e293b;
  color: #ffffff;
  transform: translateY(-1px);
}

.vol-dl-btn-print {
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
}
.vol-dl-btn-print:hover {
  background: #f1f5f9;
}

/* ==========================================================================
   TRANSPARENCY & ALLOCATION CHARTS
   ========================================================================== */
.transparency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.fund-bar-wrap {
  margin-bottom: 1.5rem;
}

.fund-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.fund-bar-track {
  height: 10px;
  background: #ede4eb;
  border-radius: 9999px;
  overflow: hidden;
}

.fund-bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fund-fill-1 { background: linear-gradient(90deg, var(--color-magenta), #e63973); }
.fund-fill-2 { background: linear-gradient(90deg, #f59e0b, var(--color-gold)); }
.fund-fill-3 { background: linear-gradient(90deg, var(--color-teal), #14b8a6); }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.faq-item {
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(11, 25, 44, 0.12);
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02);
  transition: var(--transition-snappy);
}

.faq-item:hover {
  border-color: var(--color-magenta);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--color-text-main);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}

.faq-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  color: var(--color-magenta);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.35rem;
}

/* ==========================================================================
   MODALS SYSTEM (LIGHT THEME)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32, 10, 28, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #ffffff;
  border: 1px solid var(--color-magenta-border);
  border-radius: 22px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(11, 25, 44, 0.18);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-sizing: border-box;
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}

.modal-header {
  padding: 1.35rem 1.75rem;
  border-bottom: 1px solid rgba(11, 25, 44, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-plum);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.modal-close:hover {
  background: #eff6ff;
  color: var(--color-magenta);
}

.modal-body {
  padding: 1.75rem;
  box-sizing: border-box;
}

.payment-tabs {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  width: 100%;
}

.pay-tab-btn {
  flex: 1;
  padding: 0.65rem 0.5rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(11, 25, 44, 0.1);
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition-snappy);
}

.pay-tab-btn.active {
  background: #eff6ff;
  border-color: var(--color-magenta);
  color: var(--color-magenta);
}

.qr-box {
  background: #f8fafc;
  padding: 1.15rem;
  border-radius: 14px;
  display: inline-block;
  margin: 0 auto 0.75rem;
  border: 1px solid rgba(11, 25, 44, 0.1);
}

.receipt-container {
  background: #ffffff;
  color: #1a1a1a;
  padding: 1.75rem;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-top: 1.25rem;
  box-sizing: border-box;
}

.receipt-header {
  border-bottom: 2px solid #002c8c;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.receipt-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0b192c;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  border-bottom: 1px dashed #e5e7eb;
  gap: 0.5rem;
}

/* Floating Action Buttons Container - Bottom Right Dock */
.floating-controls-wrap {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  pointer-events: none;
}

.floating-controls-wrap > * {
  pointer-events: auto;
}

/* Floating Language Switcher Pill */
.floating-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(0, 44, 140, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(11, 25, 44, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-lang-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 25, 44, 0.2);
}

.floating-lang-pill .lang-btn {
  background: none;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-plum);
  cursor: pointer;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.floating-lang-pill .lang-btn:hover {
  color: var(--color-magenta);
}

.floating-lang-pill .lang-btn.active {
  background: var(--color-magenta);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 44, 140, 0.3);
}

.floating-lang-pill .lang-divider {
  color: rgba(11, 25, 44, 0.25);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Floating Emergency Helpline Button */
.floating-helpline-btn {
  position: static;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.15rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #002c8c 0%, #0a47a9 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 8px 22px rgba(0, 44, 140, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.floating-helpline-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 44, 140, 0.5);
  background: linear-gradient(135deg, #001f66 0%, #002c8c 100%);
  color: #ffffff;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 210;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
  max-width: calc(100vw - 3rem);
}

.toast {
  background: #ffffff;
  border: 1px solid var(--color-magenta);
  color: var(--color-text-main);
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(11, 25, 44, 0.12);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  animation: slideInLeft 0.35s ease, fadeOut 0.4s ease 3.6s forwards;
  pointer-events: auto;
}

/* ==========================================================================
   ROBUST RESPONSIVE OVERRIDES FOR COMPONENTS
   ========================================================================== */
@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .volunteer-wizard-container {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
  }
  .volunteer-wizard-container > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .transparency-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .shakti-stage-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .glass-panel {
    padding: 1.5rem 1.15rem;
    border-radius: 18px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* Shakti Cycle Mobile: NO OVERLAP! Grid below the centered mandala */
  .shakti-animation-section {
    padding: 3rem 0;
  }
  .shakti-mandala-container {
    max-width: 100%;
  }
  .shakti-mandala-wrap {
    width: 240px;
    height: 240px;
    max-width: 240px;
    margin: 0 auto 1.25rem;
  }
  .shakti-center-avatar {
    width: 72px;
    height: 72px;
    padding: 6px;
  }
  .shakti-center-avatar svg {
    width: 32px;
    height: 32px;
  }
  .shakti-center-avatar span {
    font-size: 0.6rem;
  }

  .shakti-nodes-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.5rem;
  }

  .shakti-node-btn {
    position: static !important;
    transform: none !important;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    font-size: 0.76rem;
    padding: 0.6rem 0.4rem;
    white-space: normal;
    text-align: center;
    border-radius: 12px;
    background: #ffffff;
    border: 1.5px solid rgba(11, 25, 44, 0.14);
    color: var(--color-text-main);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 2px 8px rgba(11, 25, 44, 0.05);
    cursor: pointer;
  }
  .shakti-node-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
  .shakti-node-btn.active {
    background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-plum) 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(0, 44, 140, 0.35);
  }

  .shakti-story-card {
    padding: 1.35rem 1.15rem;
    border-radius: 18px;
  }

  /* Donation Widget Mobile Fixes */
  .donation-widget {
    padding: 1.5rem 1rem;
    border-radius: 20px;
  }
  .donation-frequency-toggle {
    max-width: 100%;
    margin-bottom: 1.25rem;
  }
  .amount-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }
  .amount-card {
    padding: 0.85rem 0.5rem;
  }
  .impact-summary-box {
    padding: 1rem;
    gap: 0.85rem;
  }
  .impact-badge-icon {
    width: 40px;
    height: 40px;
  }

  /* Filter Tabs - Horizontal Swipe Scrollbar-Free on Mobile */
  .filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.25rem 0.25rem 0.85rem;
    margin-bottom: 1.75rem;
    scrollbar-width: none;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex-shrink: 0;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
  }

  /* Programs on Mobile */
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .program-img-wrap {
    height: 200px;
  }
  .program-body {
    padding: 1.25rem 1.15rem;
  }

  /* Stories Carousel on Mobile */
  .story-slide {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .story-media {
    min-height: 230px;
    height: 230px;
  }
  .story-content {
    padding: 1.5rem 1.15rem;
  }
  .slider-controls {
    bottom: 1rem;
    right: 1rem;
  }
  .slider-btn {
    width: 36px;
    height: 36px;
  }

  /* Volunteer and Modals on Mobile */
  .skills-pill-grid {
    grid-template-columns: 1fr;
  }
  .volunteer-wizard-container {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.75rem;
    width: 100%;
    max-width: 100%;
  }
  .volunteer-wizard-container > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .volunteer-card-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }
  .floating-helpline-btn {
    padding: 0.65rem;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    bottom: 1rem;
    right: 1rem;
    justify-content: center;
  }
  .floating-helpline-btn span {
    display: none;
  }
}

@media (max-width: 540px) {
  .vol-card-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    min-height: auto;
  }
  .vol-card-brand {
    width: 100%;
    gap: 10px;
  }
  .vol-card-logo-wrap {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
  .vol-card-logo {
    width: 34px;
    height: 34px;
  }
  .vol-card-brand-info {
    min-width: 0;
    flex: 1;
  }
  .vol-card-org-name {
    font-size: 13px;
    word-break: break-word;
  }
  .vol-card-org-sub {
    font-size: 9.5px;
    word-break: break-word;
  }
  .vol-card-org-reg {
    font-size: 8.5px;
    word-break: break-word;
  }
  .vol-card-badge-pill {
    align-self: flex-start;
    padding: 3px 10px;
  }
  .vol-card-badge-pill span {
    font-size: 8.5px;
  }
  .vol-card-body {
    padding: 12px 12px 10px 12px;
  }
  .vol-card-profile-row {
    gap: 10px;
    margin-bottom: 10px;
  }
  .vol-card-avatar {
    width: 52px;
    height: 52px;
  }
  .vol-card-avatar svg {
    width: 24px;
    height: 24px;
  }
  .vol-card-profile-details {
    min-width: 0;
    flex: 1;
  }
  .vol-card-name {
    font-size: 16px;
    word-break: break-word;
  }
  .vol-card-role {
    font-size: 11.5px;
  }
  .vol-card-location {
    font-size: 10px;
    word-break: break-word;
  }
  .vol-card-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px 10px;
  }
  .vol-card-field-val {
    font-size: 11px;
    word-break: break-word;
  }
  .vol-card-footer-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 12px;
    min-height: auto;
  }
  .vol-card-barcode-box {
    width: 100%;
  }
  .vol-card-barcode {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .vol-card-seal {
    align-self: flex-start;
  }
  .vol-download-toolbar {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  .vol-dl-btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
  }
  .wizard-steps-indicator {
    gap: 0.45rem;
    margin-bottom: 1.25rem;
  }
  .wizard-step-pill {
    font-size: 0.74rem;
    gap: 0.35rem;
  }
  .step-circle {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .glass-panel {
    padding: 1.25rem 0.85rem !important;
    border-radius: 16px;
  }
  .form-control {
    padding: 0.75rem 0.85rem;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   PICTURE GALLERY SECTION
   ========================================================================== */
.gallery-section {
  padding: 5rem 0;
  background: #ffffff;
  position: relative;
  z-index: 2;
}

.gallery-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.gallery-tab-btn {
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  background: #eff6ff;
  border: 1px solid rgba(0, 44, 140, 0.15);
  color: #002c8c;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.gallery-tab-btn:hover, .gallery-tab-btn.active {
  background: #002c8c;
  color: #ffffff;
  border-color: #002c8c;
  box-shadow: 0 4px 14px rgba(0, 44, 140, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 25, 44, 0.08);
  border: 1px solid rgba(11, 25, 44, 0.08);
  background: #f8fafc;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 44, 140, 0.18);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0, 44, 140, 0.88) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #ffffff;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-badge {
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  background: #d97706;
  color: #ffffff;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.gallery-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.gallery-caption {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (max-width: 580px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
