/* ================= DONATE SECTION ================= */

.donate-section {
  padding: 90px 20px 110px;
  background: linear-gradient(135deg, #f4f7ff 0%, #fff7ec 100%);
}

.donate-container {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

/* ================= LEFT CONTENT ================= */

.donate-content {
  max-width: 520px;
  position: relative;
  padding-left: 10px;
}

.donate-quote-icon img {
  width: 96px;
  margin-bottom: 22px;
  filter: drop-shadow(0 12px 25px rgba(245,158,11,0.35));
  animation: floatIcon 4s ease-in-out infinite;

}

@keyframes floatIcon {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.donate-content blockquote {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.donate-content blockquote strong {
  color: #f59e0b;
}

.donate-content span {
  display: block;
  margin-top: 16px;
  font-size: 1.05rem;
  color: #475569;
}

.donate-trust-logos {
  display: flex;
  gap: 26px;
  margin-top: 44px;
  align-items: center;
}

.donate-trust-logos img {
  height: 42px;
  opacity: 0.9;
  transition: 0.4s ease;
}

.donate-trust-logos img:hover {
  transform: translateY(-6px) scale(1.08);
  filter: brightness(1.1);
}

.donate-content::before {
  content: "";
  position: absolute;
  background: radial-gradient(circle at 20% 20%, rgba(79,70,229,0.12), transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(245,158,11,0.15), transparent 60%);
  z-index: -1;
}

/* ================= FORM CARD ================= */

.donate-form-card {
  background: white;
  border-radius: 22px;
  padding: 42px 42px 40px;
  box-shadow: 0 28px 60px rgba(0,0,0,0.12);
}

/* ================= TABS ================= */

.donate-tabs {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 22px;
}

.tab {
  flex: 1;
  padding: 10px 6px 12px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: #64748b;
}

.tab.active {
  color: #f59e0b;
  border-bottom: 2px solid #f59e0b;
}

/* ================= AMOUNT GRID ================= */

.donate-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.amount-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  background: #ffffff;
  cursor: pointer;
  transition: 0.25s ease;
}

.amount-card h4 {
  font-size: 0.95rem;
  color: #f59e0b;
  margin-bottom: 4px;
}

.amount-card p {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.2;
}

.amount-card.custom h4 {
  color: #4f46e5;
}

.amount-card:hover {
  border-color: #f59e0b;
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.08);
}

/* ================= CHILDREN COUNTER ================= */

.donate-children {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 14px 0 18px;
  font-size: 0.85rem;
}

.counter {
  display: flex;
  gap: 10px;
  align-items: center;
}

.counter button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: white;
  cursor: pointer;
  font-size: 18px;
  line-height: 0;
}

.counter input {
  width: 42px;
  text-align: center;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ================= INPUT ================= */

.donate-input label {
  font-size: 0.8rem;
  margin-bottom: 6px;
  display: block;
  color: #475569;
}

.currency-input {
  display: flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 30px;
  padding: 8px 14px;
  font-size: 0.9rem;
  position: relative;
  transition: 0.4s ease;
  overflow: hidden;
}

.currency-input span {
  margin-right: 6px;
  font-size: 1.05rem;
  color: #475569;
}

.currency-input input {
  border: none;
  outline: none;
  width: 100%;
}

/* Input Animation */
/* ===== Premium Rotating Border Effect ===== */

.currency-input {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
}

/* Animated border layer */
.currency-input::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  background:
    conic-gradient(
      from 0deg,
      transparent 0%,
      rgba(245,158,11,0.9) 20%,
      transparent 40%,
      transparent 100%
    );
  animation: rotateBorder 4s linear infinite;
  z-index: 0;
}

/* Inner content layer */
.currency-input::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: white;
  border-radius: 28px;
  z-index: 1;
}

/* Input stays above */
.currency-input span,
.currency-input input {
  position: relative;
  z-index: 2;
}

/* Hover effect */
.currency-input:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245,158,11,0.25);
}

/* Focus boost */
.currency-input:focus-within::before {
  animation-duration: 4.8s;
  filter: brightness(1.3);
}

.currency-input input:focus {
  outline: none;
  color: #f59e0b;
}

/* Typing pulse */
.currency-input input:not(:placeholder-shown) {
  animation: typingGlow 1.2s ease infinite alternate;
}

@keyframes rotateBorder {
  to { transform: rotate(360deg); }
}

@keyframes typingGlow {
  from { text-shadow: 0 0 0 rgba(245,158,11,0.4); }
  to   { text-shadow: 0 0 8px rgba(245,158,11,0.9); }
}

/* ================= BUTTON ================= */

.donate-submit-btn {
  width: 100%;
  margin-top: 20px;
  padding: 13px;
  background: linear-gradient(135deg, #f59e0b, #fb923c);
  border: none;
  border-radius: 36px;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

/* ================= INFO & PAYMENTS ================= */

.donate-info {
  margin-top: 14px;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.4;
}

.donate-info a {
  color: #f59e0b;
}

.payment-icons {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.payment-icons img {
  height: 19px;
}

/* ================= ENTRANCE ANIMATIONS ================= */

.donate-content,
.donate-form-card {
  opacity: 0;
  transform: translateY(24px);
  animation: donateFadeUp 1s ease forwards;
}

.donate-form-card {
  animation-delay: 0.15s;
}

@keyframes donateFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= INTERACTION ANIMATIONS ================= */

.amount-card {
  transition: 0.25s ease;
}

.amount-card:active {
  transform: scale(0.97);
}

.counter button {
  transition: 0.2s ease;
}

.counter button:hover {
  background: #f59e0b;
  color: white;
  border-color: #f59e0b;
}

.donate-submit-btn {
  transition: 0.35s ease;
}

.donate-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.25);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .donate-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .donate-content {
    max-width: 100%;
    text-align: center;
  }

  .donate-trust-logos {
    justify-content: center;
    
  }
}

@media (max-width: 640px) {
  .donate-section {
    padding: 70px 16px 90px;
  }

  .donate-form-card {
    padding: 34px 26px 32px;
  }

  .donate-amounts {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .donate-content blockquote {
    font-size: 22px;
  }

  .donate-trust-logos img {
    height: 32px;
  }

  .donate-submit-btn {
    padding: 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 420px) {
  .counter input {
    width: 36px;
  }

  .amount-card h4 {
    font-size: 0.9rem;
  }

  .amount-card p {
    font-size: 0.7rem;
  }
}

