/* ── Donate Page Styles ── */

.donate-page {
  background: #fdf4ff;
}

/* Active nav link */
.menu a.active {
  color: #c026d3;
  font-weight: 600;
}
.menu a.active::after {
  width: 100%;
}

/* ── Hero ── */
.donate-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1a0a2e;
}

.donate-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 50%, rgba(168, 85, 247, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(219, 39, 119, 0.18) 0%, transparent 70%);
  z-index: 0;
}

/* Floating paw prints in background */
.donate-hero::before {
  content: '🐾 🐾 🐾 🐾 🐾 🐾 🐾 🐾 🐾 🐾 🐾 🐾';
  position: absolute;
  inset: 0;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  opacity: 0.04;
  z-index: 0;
  pointer-events: none;
  letter-spacing: 30px;
  word-spacing: 40px;
  padding: 60px;
}

.donate-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  max-width: 760px;
  padding: 0 30px;
  animation: heroFadeIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.paw-stamp {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: block;
  animation: pawBounce 2.4s ease-in-out infinite;
}

@keyframes pawBounce {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-10px) rotate(5deg); }
}

.donate-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.15;
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.donate-hero-content h1 em {
  font-style: italic;
  color: #f0abfc;
}

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 38px;
}

.hero-cta {
  display: inline-block;
  background: #db2777;
  color: white;
  text-decoration: none;
  padding: 16px 44px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 6px 24px rgba(219, 39, 119, 0.45);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.hero-cta:hover {
  background: #be185d;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(219, 39, 119, 0.55);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollPulse 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.8; transform: translateX(-50%) translateY(6px); }
}

/* ── Shared Section Styling ── */
.mission-section,
.how-section,
.gallery-section,
.form-section {
  padding: 100px 40px;
}

.mission-section { background: white; }
.how-section     { background: #fdf4ff; }
.gallery-section { background: white; }
.form-section    { background: #1a0a2e; }

.mission-inner,
.how-inner,
.gallery-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mission-tag {
  display: inline-block;
  background: #f3e8ff;
  color: #7e22ce;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.mission-inner h2,
.how-inner h2,
.gallery-inner h2,
.form-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #1e0a2e;
  margin-bottom: 36px;
  line-height: 1.2;
}

/* ── Mission Body ── */
.mission-body {
  max-width: 680px;
  margin: 0 auto 50px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mission-body p {
  font-family: 'Lora', serif;
  font-size: 1.08rem;
  line-height: 1.85;
  color: #3b0764;
}

.animal-icon-inline {
  display: inline-block;
  background: #f3e8ff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 1rem;
  cursor: help;
  transition: transform 0.2s ease;
}

.animal-icon-inline:hover { transform: scale(1.2) rotate(10deg); }

.pledge-block {
  background: #fdf4ff;
  border-left: 4px solid #a855f7;
  border-radius: 0 12px 12px 0;
  padding: 18px 22px !important;
  font-size: 1.12rem !important;
  color: #6b21a8 !important;
}

.mission-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px;
  background: #fdf4ff;
  border-radius: 20px;
  border: 1px solid #e9d5ff;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: #6b21a8;
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: #7c5fa0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: #d8b4fe;
}

/* ── How It Works ── */
.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 10px;
}

.step-card {
  flex: 1;
  background: white;
  border: 1px solid #e9d5ff;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 280px;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.14);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #a855f7;
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 99px;
}

.step-icon {
  font-size: 2.8rem;
  margin: 10px 0 16px;
}

.step-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #1e0a2e;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.92rem;
  color: #4c1d95;
  line-height: 1.7;
}

.step-connector {
  color: #d8b4fe;
  font-size: 1.4rem;
  padding: 0 12px;
  margin-top: 60px;
  flex-shrink: 0;
}

.fabric-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
}

.fabric-tags span {
  background: #f3e8ff;
  color: #7e22ce;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}

/* ── Gallery ── */
.gallery-sub {
  color: #7c5fa0;
  font-size: 1rem;
  margin-top: -20px;
  margin-bottom: 40px;
  font-family: 'Lora', serif;
  font-style: italic;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.gallery-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #1a0a2e;
  cursor: zoom-in;
}

.gallery-card.tall {
  grid-row: span 2;
}

.gallery-card.wide {
  grid-column: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, filter 0.35s ease;
  filter: brightness(0.85);
}

.gallery-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 20px 18px 16px;
  background: linear-gradient(to top, rgba(26, 10, 46, 0.92) 0%, transparent 100%);
  color: white;
  transform: translateY(8px);
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-card:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.caption-tag {
  display: inline-block;
  background: #a855f7;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 8px;
}

.gallery-caption p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}

/* ── Form Section ── */
.form-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.form-left .mission-tag {
  background: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
}

.form-left h2 {
  color: white;
  margin-bottom: 16px;
}

.form-left > p {
  color: #a78bca;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.form-assurance {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.assurance-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d8b4fe;
  font-size: 0.9rem;
}

.assurance-item i {
  color: #a855f7;
  width: 18px;
}

.donate-form-card {
  background: white;
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #4c1d95;
  letter-spacing: 0.02em;
}

.optional {
  font-weight: 400;
  color: #a78bca;
  font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #e9d5ff;
  border-radius: 12px;
  padding: 12px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  color: #1e0a2e;
  background: #fdf4ff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a855f7' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: #db2777;
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  box-shadow: 0 6px 20px rgba(219, 39, 119, 0.35);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.submit-btn:hover {
  background: #be185d;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(219, 39, 119, 0.45);
}

.submit-btn:active { transform: translateY(0); }

/* ── Mobile Responsive ── */
@media (max-width: 900px) {
  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .step-connector {
    transform: rotate(90deg);
    margin: -8px 0;
  }

  .step-card {
    max-width: 100%;
    width: 100%;
  }

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

  .gallery-card.tall { grid-row: span 1; }
  .gallery-card.wide { grid-column: span 2; }

  .form-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mission-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }
}

@media (max-width: 600px) {
  .mission-section,
  .how-section,
  .gallery-section,
  .form-section {
    padding: 60px 20px;
  }

  .donate-form-card {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .gallery-card.wide { grid-column: span 1; }

  .mission-stats {
    padding: 28px 20px;
  }
}
