/* === Component Styles === */

/* Navbar Scroll Effect */
.navbar-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Donation cadence cards */
.cadence-card {
  display: block;
  width: 100%;
  text-align: left;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.cadence-card:hover {
  border-color: #00b964;
}
.cadence-card.active[data-type="monthly"] {
  border-color: #00b964;
  background: #e8f8f0;
  box-shadow: 0 0 0 3px rgba(0, 185, 100, 0.14);
}
.cadence-card.active[data-type="one-time"] {
  border-color: #6b7280;
  background: #f9fafb;
}
.cadence-radio {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #d1d5db;
  flex-shrink: 0;
  position: relative;
  background: #fff;
}
.cadence-card.active .cadence-radio {
  border-color: #00b964;
}
.cadence-card.active .cadence-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: #00b964;
}
.cadence-badge {
  display: inline-flex;
  align-items: center;
  background: #00b964;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
}
.amount-cadence {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 1px;
}

.amount-btn.active {
  border-color: #00b964;
  background-color: #e8f8f0;
  color: #00b964;
}

/* FAQ Accordion */
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq-item.active .faq-content {
  max-height: 500px;
}

/* Mobile Donate Bar Animation */
.mobile-donate-visible {
  transform: translateY(0) !important;
}

/* Card Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #00b964, #02a95c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
  width: 44px !important;
  height: 44px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease !important;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #fff !important;
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px !important;
  font-weight: bold !important;
  color: #333 !important;
}
.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1 !important;
  border-color: #00b964 !important;
}

/* Modal Animation */
.modal-content {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Modal Phase Transitions */
#modal-phase-1,
#modal-phase-2,
#modal-phase-success {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#modal-phase-1.hidden,
#modal-phase-2.hidden,
#modal-phase-success.hidden {
  display: none;
}
