

/* ================= NGO FOOTER ================= */

.ngo-footer {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #e5e7eb;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

/* Floating gradient glow */
.ngo-footer::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 20%, rgba(79,70,229,0.25), transparent 40%),
              radial-gradient(circle at 70% 80%, rgba(245,158,11,0.25), transparent 40%);
  animation: footerGlow 18s linear infinite;
}

@keyframes footerGlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ================= GRID ================= */

.footer-container {
  max-width: 1250px;
  margin: auto;
  padding: 0 20px 60px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}

/* ================= BRAND ================= */

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand, p{
  margin-bottom: 12px;
  font-size: 14px;
  opacity: 0.85;
}

.footer-logo {
  width: 120px;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: 0.4s;
}

.footer-social a:hover {
  transform: translateY(-6px) scale(1.05);
  background: linear-gradient(135deg, #f59e0b, #fb923c);
}

/* ================= COLUMNS ================= */

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #f59e0b;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #f59e0b;
  padding-left: 6px;
}

/* New tag */
.new-tag {
  background: #ef4444;
  color: white;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 8px;
  margin-left: 6px;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ================= CONTACT ================= */

.footer-contact p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-map {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.footer-map iframe {
  width: 100%;
  height: 140px;
  border: none;
}

/* ================= DONATION STRIP ================= */

.footer-donations {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: center;
  background: rgba(0,0,0,0.2);
}

.footer-donations img {
  height: 22px;
}

/* ================= BOTTOM ================= */

.footer-bottom {
  background: black;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer-donations {
    flex-wrap: wrap;
  }
}

/* ================= BACK TO TOP BUTTON ================= */

#backTop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
  z-index: 999999;  
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: 0.4s ease;
}

#backTop.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#backTop:hover {
  background: linear-gradient(135deg, #f59e0b, #fb923c);
  transform: translateY(-6px);
}
